Search for a command to run...
This record contains the code needed to reproduce the main results of the paper <em>Non-reciprocal phase transitions</em>, Michel Fruchart, Ryo Hanai, Peter B. Littlewood, Vincenzo Vitelli, Nature (2021) [ doi:10.1038/s41586-021-03375-9 ] [ arXiv:2003.13176 ] The scripts use Mathematica (Mathematica 12.2.0, WolframScript 1.5.0), Julia (version 1.5.0), and Python (version 3.8.8).<br> Some of the numerical simulations are performed using Dedalus (version 2.1810 ; https://dedalus-project.org). All code is released under the 2-clause BSD license (see <code>LICENSE</code>), except the file complex_derivative.wl (CC BY-SA 4.0, see details in the file). Below, we give a list of the files corresponding to each figure. <strong>Main text</strong> Fig. 1: - ab: nothing - cd: <code>vicsek/*</code> [ plot: same directory ] - ef: nothing - ghi: nothing Fig. 2: - abc: <code>compute_phase_diagram.wl</code> and <code>analytical_phase_boundaries.wl</code> [ plot: <code>figure_phase_diagram.ipynb</code> ] - de: nothing - fg: <code>compute_spectrogram.wl</code> [ plot: <code>figure_frequencies_steady_state.ipynb</code> ] Fig. 3: - a: <code>compute_chiral_stability_diagram.wl</code> [ plot: <code>figure_stability_diagram_with_chiral.ipynb</code> ] - b: nothing - c: <code>growth_rate_momentum_space.wl</code> [ plot: <code>figure_growth_rate_kspace.ipynb</code> ] - def: <code>dedalus_cluster/*</code> [ plot: <code>figure_movie_patterns_data_analysis_dedalus.ipynb</code> ] Fig. 4: nothing <strong>Methods</strong> EDF1: nothing EDF2: <code>kuramoto_sqrtn/*</code> [ plot: <code>figure_kuramoto_sqrtN.ipynb</code> ] EDF3: nothing EDF4: <code>kuramoto_ao_Lop.nb</code> [ plot: <code>figure_kuramoto_phase_diagram.ipynb</code> ] EDF5: <code>kuramoto_ao_hysteresis.nb</code> [ plot: <code>figure_kuramoto_hysteresis.ipynb</code> ] EDF6: <code>coupled_swift_hohenberg.py</code> [ plot: <code>figure_coupled_sh.ipynb</code> ] EDF7: <code>parity_breaking_fingering.nb</code> [ plot: <code>figure_si_exceptional_point_jacobian_fingering.ipynb</code> ] <strong>SI</strong> S1: nothing S2: same as main Fig. 1cd S3: nothing S4: <code>generalized_system_phase_diagram.wl</code> [ plot: <code>figure_si_effect_perturbations_O2.ipynb</code> ] S5: nothing S6: nothing S7: <code>flocking_aligned_chiral_growth_rate_si_fig_data.wl</code> [ plot: <code>figure_growth_rate_chiral_transition.ipynb</code> ] S8: <code>swap_transition_growth_rates.wl</code> [ plot: <code>figure_si_growth_rate_swap_transition.ipynb</code> ] S9: <code>simplified_bifurcation_diagram_compute_data.nb</code> [ plot: <code>figures_si_bifurcation_diagram.ipynb</code> ] S10: same as S7 S11: <code>kuramoto_comparison_mean_field/*</code> [ plot: same directory ] S12: same as EDF2 S13: same as S11 S14: nothing S15: <code>dynamical_system_3D_O3.nb</code> [ plot: <code>figure_si_EP_O3.ipynb</code> ] S16: <code>laser_ep.nb</code> [ plot: <code>figure_si_EP_laser.ipynb</code> ] S17: nothing S18: same as main Fig. 3def S19: <code>linear_stability_hydro_simus.wl</code> [ plot: <code>figure_si_linear_stability_hydro_simus.ipynb</code> ]