Skip to content

Releases: lesnat/p2sat

v2.0.0

05 Feb 10:57
Compare
Choose a tag to compare

Major structure changes:

  • PhaseSpace become a dataset, and plot, hist and stat are folder containing methods
  • PhaseSpace attribute extract have been replaced by load, save, edit and read
  • PhaseSpace attribute export have been replaced by save, edit and read
  • PhaseSpace attribute data have been replaced by edit and read
  • PhaseSpace attribute data.raw have been replaced read
  • New PhaseSpace attribute metadata containing informations about labels, units and specie.

New features:

  • Prototypes of ScalarField and EventLocation datasets
  • Particle merging algorithm
  • Some tests

Documentation:

  • The word "configuration" have been replaced by "macro-particle", or simply "particle"

v1.4.2

18 Oct 14:12
Compare
Choose a tag to compare

New features :

  • 1d/2d animations plot
  • 3d histo and scatter plot

Syntax changes :

  • propagate parameters are now x and t

v1.4.1

12 Oct 10:55
Compare
Choose a tag to compare

New features :

  • PyPI support

v1.4.0

12 Oct 10:44
Compare
Choose a tag to compare

New features :

  • Python3 compatibility ?
  • New physical quantities
  • Package installation from setup.py

Syntax changes :

  • Access to physical quantities from data.raw
  • specie parameter become particle

v1.3.1

10 Oct 17:33
Compare
Choose a tag to compare

Update documentation to v1.3

v1.3.0

10 Oct 17:04
Compare
Choose a tag to compare

New features :

  • Discretization splitting with multiprocessing prototype (:warning: Using MP leads to several memory management problems !)
  • TrILEns_input prototype in export
  • Filter all the phase-space in one function with full_select
  • Format figure & fonts size
  • Total energy contained in particles (stat.total_energy)
  • Weight parameter in hist and plots
  • ekin_density, etot and omega (yet prototype) are new axes to plot
  • Generation of positions with uniform laws or in a given grid
  • Default number of bins is now 100 in hist or plots

Bugfixes :

  • gamma parameter in export.TrILEns_prop_ph
  • Plot labels for gamma specie
  • Filtering default range
  • Keyword specie is no more a need for export.TrILEns_prop_ph function

Syntax changes :

  • Tabulation is now 4 spaces everywhere (as recommended for python code)

v1.2.0

12 Oct 10:56
Compare
Choose a tag to compare

New features :

  • data.transformate prototype
  • phase space data are now python properties (lower memory load)
  • print more informations on f1
  • gp3m2 methods in extract/export
  • example generate become data
  • update doc

Bugfixes :

  • beta calculation for gamma specie

v1.1.1

17 Sep 10:38
Compare
Choose a tag to compare

Bugfixes :

  • data.generate

Syntax changes :

  • PhaseSpace.specie now become a dict with keys "name","mass","label"

v1.1.0

13 Sep 15:15
Compare
Choose a tag to compare

New features :

  • Phase space generation prototype
  • Prototype of Lorentz transformation
  • Add beta and v
  • Phase space propagation into a given position or time
  • Better unit format in plot legends
  • print(PhaseSpace) now return statistics about the data

Synthax changes :

  • wnorm in hist methods become a list of boolean : normed

Bugfixes :

  • show plot at the end of each plot function
  • Number of particles in hist.f1

v1.0.1

29 Aug 09:46
Compare
Choose a tag to compare

Fix:

  • plot.get_labels method