Adjust signature of magnetic_field
method for magnetostatic classes
#1575
Labels
Plasma Lv2 | Intermediate
Issues that require an intermediate knowledge of plasma physics
Python Lv2 | Intermediate
Issues that require a medium amount of knowledge of Python
Right now the MagneticDipole.magnetic_field method (from
plasmapy.formulary.magnetostatics
requires a position vector,p
which makes it harder to do array operations. We could instead do something like having keyword-only parameters likex
,y
, &z
...which would also let us have additional keyword-only parameters liker
,z
, andphi
orr
,theta
,phi
for cylindrical and circular coordinates, respectively.The text was updated successfully, but these errors were encountered: