MoonMag.symmetry_funcs module
- Contains functions for calculating induced magnetic fields
from spherical conductors. Outputs typically appear as mpc, which is the mpmath complex type. Developed in Python 3.8 for “A perturbation method for evaluating the magnetic field induced from an arbitrary, asymmetric ocean world analytically” by Styczinski et al. DOI: 10.1016/j.icarus.2021.114840
Author: M. J. Styczinski, mjstyczi@uw.edu
- MoonMag.symmetry_funcs.AeResponse(r_bds, sigmas, omega, rscaling, nn=1)
- MoonMag.symmetry_funcs.BiList(r_bds, sigmas, peak_omegas, Benm, nprmvals, mprmvals, rscale_moments, n_max=1, writeout=True, path=None, bodyname=None, append='', Schmidt=False, outFname=None, outFnameS=None)
- MoonMag.symmetry_funcs.InducedAeList(r_bds, sigmas, omegas, rscale_moments, nn=1, writeout=False, path=None, append='', do_parallel=True, outFname=None)
- MoonMag.symmetry_funcs.cpx_div(a, b)
- MoonMag.symmetry_funcs.cpx_div_val(a, b)
- MoonMag.symmetry_funcs.get_gh_from_Binm(n_max, Binm)
- MoonMag.symmetry_funcs.jdx(n, x)
- MoonMag.symmetry_funcs.jnx(n, x)
- MoonMag.symmetry_funcs.sqrt4pi = 3.5449077018110318
validate() Check inputs to be sure everything will be interpreted correctly. Usage: r_bds, sigmas, omegas = validate(r_bds, sigmas, omegas) :returns: float, shape(N).
sigmas: float, shape(N). omegas: float, shape(P).
- Return type:
r_bds
- Parameters:
r_bds – float, shape(N).
sigmas – float, shape(N).
omegas – float, shape(P).
- MoonMag.symmetry_funcs.validate(r_bds, sigmas, omegas)
- MoonMag.symmetry_funcs.ydx(n, x)
- MoonMag.symmetry_funcs.ynx(n, x)