Changelog
v0.1.0 (2024/11/29)
First release of
flekspy, based on the original scripts under the FLEKS repo!
v0.1.3 (2024/12/13)
Port all the functionalities from the original repo; add runnable examples.
v0.2.0 (2024/12/20)
plot_phase_regionis deprecated; useplot_phasewith theregionkeyword instead. Add customized decoration option.plot_particles_regionis deprecated; useplot_particleswith theregionkeyword instead.Add utility method
extract_phasefor extracting phase space coordinates and values._unit_one->unit_one.
v0.2.1 (2024/12/22)
dataContainerand its related classes are renamed to be consistent with Python naming conventions.contourhas been renamed toplotforDataContainer2D.
v0.2.8 (2025/02/15)
Add
get_phaseto obtain the direct phase space distributions, which is useful for customized decoration of plots.
v0.3.0 (2025/07/15)
Refactor the test particle module to bind the particle ID and data closely through a new class
ParticleTrajectory.
v0.3.1 (2025/07/23)
Switch from
poetrytouvfor package management.
v0.3.2 (2025/08/01)
read_initial_location->read_initial_conditionfor test particles.
v0.4.0 (2025/08/03)
Use XArray for handling IDL format data.
v0.5.0 (2025/08/05)
Use Polars for storing test particle data.
v0.5.3 (2025/08/13)
Support test particle gradient B storage.
v0.5.4 (2025/08/14)
Add ExB, gradient, and curvature drift calculation for test particles.
v0.5.5 (2025/08/15)
Use lazy Polars expression for test particle analysis if possible.
v0.5.21 (2025/10/08)
Add experimental native AMReX particle data loader.
v0.6.0 (2025/10/09)
Switch the default AMReX particle loader. Add plotting support.
Separate IDL, AMReX, and test particle documentations.
v0.6.2 (2025/10/30)
Add
save_trajectory(CSV, Parquet) andsave_trajectories(HDF5) to test particles.
v0.6.8 (2025/11/07)
Make the native AMReX particle loader into a module.
v0.6.9 (2025/11/09)
Add transform to
plot_phase.
v0.6.10 (2025/11/09)
Support B and E field velocity transformations.
v0.6.11 (2025/11/11)
Add KDE and GMM fit for phase space in the amrex module.
Use lazy loading and optional dependency techniques to improve the package loading time from 10s to 0.03s.
Separate
get_phase_space_densityfromplot_phaseto make further analysis possible.