Skip to content

Latest commit

 

History

History
172 lines (155 loc) · 8.29 KB

CHANGELOG.rst

File metadata and controls

172 lines (155 loc) · 8.29 KB

PlasmaPy v2024.7.0 (2024-07-21)

New Features

  • Implemented ~plasmapy.particles.atomic.stopping_power to calculate stopping powers using the NIST's ASTAR and PSTAR data. (:pr:`2555`)
  • Added ionization energy data from NIST to the |Particle| class. This can now be accessed using the ~plasmapy.particles.particle_class.Particle.ionization_energy attribute from the |Particle| class. (:pr:`2657`)
  • Renamed the ~plasmapy.particles.particle_class.Particle.binding_energy attribute of |Particle| to ~plasmapy.particles.particle_class.Particle.nuclear_binding_energy to avoid confusion with ~plasmapy.particles.particle_class.Particle.electron_binding_energy. (:pr:`2693`)
  • Added electron binding energy data, relying on ionization energy data from NIST, to the |Particle| class. This can now be accessed using the ~plasmapy.particles.particle_class.Particle.electron_binding_energy attribute from the |Particle| class. (:pr:`2693`)
  • Added a return_interpolator keyword to ~plasmapy.particles.atomic.stopping_power to allow the user to specify the return of an interpolator function (~scipy.interpolate.CubicSpline under the hood). (:pr:`2712`)
  • Added the ~plasmapy.formulary.collisions.misc.Bethe_stopping function to the ~plasmapy.formulary.collisions subpackage. (:pr:`2712`)
  • Added the ability to enable particle stopping in the |ParticleTracker|. (:pr:`2712`)

Documentation Improvements

Backwards Incompatible Changes

  • Added a __str__ method to the |CustomParticle| class that returns the symbol of the particle if provided, and otherwise falls back to using __repr__. (:pr:`2702`)
  • Changed default keyword argument for the fraction_exited_threshold in ~plasmapy.diagnostics.charged_particle_radiography.synthetic_radiography.Tracker and ~plasmapy.simulation.particle_tracker.termination_conditions.AllParticlesOffGridTerminationCondition to correspond with the fraction of particles that have entered and subsequently exited the grids. Previously this keyword was a misnomer, causing the simulation to instead terminate when the specified fraction of particles remaining on the grids was less than or equal to the provided fraction_exited_threshold. (:pr:`2712`)
  • Convert particle to a required argument of the ~plasmapy.simulation.particle_tracker.particle_tracker.ParticleTracker.load_particles method of |ParticleTracker|. (:pr:`2746`)

Bug Fixes

  • Changed the |charge number| (Z) dependence of the ion contribution to the optical Thomson scattering spectral density function in ~plasmapy.diagnostics.thomson.spectral_density_lite from Z to z^2 / \bar{z} to match Eq. 5.1.2 and following equations in :cite:t:`sheffield:2011`. The result is a small change in the ion acoustic wave spectrum for plasmas with multiple ion species. (:pr:`2699`)
  • Add axes removed by numpy.squeeze to arrays in ~plasmapy.dispersion.analytical.mhd_waves_ (:pr:`2715`)

Internal Changes and Refactorings

Additional Changes