Skip to content

Commit

Permalink
Update for formulary subpackage
Browse files Browse the repository at this point in the history
  • Loading branch information
StanczakDominik committed Oct 24, 2019
1 parent 0b139b6 commit d010025
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion benchmarks/benchmark_MathematicsSuite.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""Functions from mathematics to benchmark with aerospeed velocity """

import astropy.units as u
from plasmapy.mathematics import (
from plasmapy.formulary import (
plasma_dispersion_func,
plasma_dispersion_func_deriv,
Fermi_integral
Expand Down
14 changes: 7 additions & 7 deletions benchmarks/benchmark_PhysicsSuite.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@
import astropy.constants as const
import astropy.units as u
from numpy import pi
from plasmapy.physics import parameters
from plasmapy.formulary import parameters

#For dielectric class
from plasmapy.physics import (
from plasmapy.formulary import (
cold_plasma_permittivity_SDP,
cold_plasma_permittivity_LRP,
permittivity_1D_Maxwellian
)

#For dimensionless class
from plasmapy.physics.dimensionless import quantum_theta, beta
from plasmapy.formulary.dimensionless import quantum_theta, beta


#For distribution class
from plasmapy.physics import (
from plasmapy.formulary import (
Maxwellian_1D,
Maxwellian_velocity_2D,
Maxwellian_velocity_3D,
Expand All @@ -29,7 +29,7 @@
)

#For parameters class
from plasmapy.physics.parameters import (
from plasmapy.formulary.parameters import (
mass_density,
Alfven_speed,
ion_sound_speed,
Expand All @@ -50,7 +50,7 @@
)

#For quantum class
from plasmapy.physics import(
from plasmapy.formulary import(
deBroglie_wavelength,
thermal_deBroglie_wavelength,
Fermi_energy,
Expand All @@ -60,7 +60,7 @@
)

#For relativity class
from plasmapy.physics import Lorentz_factor
from plasmapy.formulary import Lorentz_factor


class dielectric:
Expand Down

0 comments on commit d010025

Please sign in to comment.