-
0.6.0 Stable
released this
2026-05-14 15:36:36 +00:00 | -1255 commits to main since this releaseSimbelmynë 0.6.0
Released: 2026-05-14
New features
COCA — frame-of-reference simulation mode
New EvolutionMode=4 integrates residual (non-linear) particle momenta in an external reference frame supplied at each kick/drift step. The L_minus/L_plus operators apply the frame transformation; residual kicks and drifts (p_res, dx_res) are written separately from the LPT background. Subsampling of force calculations is supported via the timestepping framework.
Python TimeStepping class (pysbmy/timestepping.py)
Full Python object model for kick/drift schedules:
- construct, concatenate, and compare TimeStepping objects
- remove individual timesteps; start from a later snapshot (InputPMCOLASnapshot)
- subsampling of force evaluations per step
- new parameters: IsNonZeroInitialMomenta, InputInitialMomenta
- NoGravity option removed (superseded by per-step force subsampling)
- snapshot=True default on concatenation
Tutorial notebooks
Six Jupyter notebooks in examples/ replace the old standalone .py scripts:
- Simulations and synthetic surveys (updated with Press–Schechter selection function)
- Timestepping
- Frame of reference (COCA)
- Density estimators
- Dark matter phase-space sheet (DMSHEET)
- Cosmic web classifiers
CITATION.bib added to the repository root.
Bug fixes
- Laplacian stencil (libSBMY): incorrect finite-difference stencil corrected
- Exponential smoothing of Laplace operator's Green's function: wrong smoothing factor fixed
- Linux free-RAM query (get_free_ram): MemAvailable field now parsed correctly on Linux
- kmodulus in aux_get_crosscorrelation_fs: wrong wave-number modulus used in cross-correlation
- get_index_4D: off-by-one index bug corrected
- get_Nthreads_from_available_memory: incorrect thread count estimate fixed
- sCOLA hotfix: erroneous force evaluation at the end of sCOLA integration removed
- COCA L_plus operator: correct output of p_ext(a_f); residual momentum set to zero when force calculation is skipped
- Writing last kick: condition for emitting the final kick step corrected; drifts now written even when L_plus is not called
- g_plus Python wrapper (cosmology.py): incorrect argument passing fixed
- Slice tool (pysbmy/tools/): index error and colormap-addition value error fixed
LONGIDS / LARGEGRIDS
Full correctness pass across C and Python layers: particleID_t, cellIndex_t, fourierMode_t widened consistently; OpenMP reduction pragmas fixed in diva.c; Python header struct excludes fill/names fields when LONGIDS is active.
Platform support
- macOS Apple Silicon (M1): compiler flags and FFT linkage updated
- Large-grid cold-start fixes: cold fix for large grids applied in two rounds; safer memory management; user-visible error message when Mesh/ParticleMesh/Particles exceeds compile-time limits
Infrastructure
- pyproject.toml added: PEP 517 build backend (setuptools≥64) eliminates the setup.py develop deprecation warning on pip install -e .
- pkg_resources replaced by importlib.resources (Python ≥ 3.9)
- Compilation options (-DLONGIDS, -DLARGEGRIDS, etc.) now forwarded to pysbmy at install time
- LPT displacements I/O routines added; InputPsiLPT replaces InputPsi in parameter files
- OutputInitialPos, OutputInitialVel, OutputPsi1, OutputPsi2 parameters removed (redundant)
- Psi1/Psi2 written when WriteReferenceFrame=1
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
0.5.0 Stable
released this
2023-10-02 16:50:16 +00:00 | -1129 commits to main since this releaseDownloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
1 download
-
Source code (ZIP)
-
0.4.0 Stable
released this
2020-05-05 19:39:27 +00:00 | -1055 commits to main since this releaseDownloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
2 downloads
-
Source code (ZIP)
-
0.3.2 Stable
released this
2020-04-14 16:35:15 +00:00 | -860 commits to main since this releaseDownloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
Source code (ZIP)
-
0.3.1 Stable
released this
2020-01-25 18:16:20 +00:00 | -840 commits to main since this releaseDownloads
-
Source code (ZIP)
1 download
-
Source code (TAR.GZ)
0 downloads
-
Source code (ZIP)
-
0.3.0 Stable
released this
2020-01-15 16:16:16 +00:00 | -822 commits to main since this releaseDownloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
Source code (ZIP)
-
0.2.0 Stable
released this
2019-07-17 15:36:12 +00:00 | -804 commits to main since this releaseDownloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
Source code (ZIP)
-
0.1.1 Stable
released this
2019-02-05 11:47:49 +00:00 | -777 commits to main since this releaseDownloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
Source code (ZIP)
-
0.1.0 Stable
released this
2018-12-28 16:15:42 +00:00 | -775 commits to main since this releaseDownloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
Source code (ZIP)