Skip to content

Releases: itsmoosh/MoonMag

Support for passing more direct file paths

17 Jan 21:57
Compare
Choose a tag to compare

This release introduces features for passing file paths for Benm and interior files to eval_induced_field.run_calcs, which previously only allowed files to be placed in default directories.

Removed healpy dependency

07 Jan 01:50
Compare
Choose a tag to compare

This minor release removes the healpy dependency, which prevented installation on Windows when not initiated through wsl.

Updated excitation moment files to new PlanetMag convention

04 Jan 03:38
Compare
Choose a tag to compare

This release updates the file format for excitation moment files read in with read_Benm, as well as the function call signature. The excitation moments file now contains a descriptive name for each excitation, and an ndarray of these names is now returned by read_Benm.

This update breaks a key piece of existing infrastructure. All existing implementations of MoonMag will need to be updated to function again, but need only update the function signature with an extra output.

Field calculations up to degree 10 validated against PlanetMag

13 Nov 00:23
Compare
Choose a tag to compare

Magnetic field multipole spherical harmonic calculations up to degree 10 have now been validated against a related package named PlanetMag, including catching typos in degree 7, 9, and 10 calculations.

Reconfigured eval_induced_field options

04 May 10:20
Compare
Choose a tag to compare

Model options for each body are in the process of being integrated into a single argument. Most options have been collected into the modelOpts kwarg for the run_calcs function.

Changed Latex requirement to opt-in toggle

26 Nov 03:08
Compare
Choose a tag to compare

Setting useTex = True for generating plots with Latex in Matplotlib is now a toggle. Previously, a Latex installation was required. The default behavior is for useTex = False; this can be toggled in config.py.

Removed dependency on skyfield

13 Nov 13:02
Compare
Choose a tag to compare

This release removes an unnecessary dependency on skyfield and adds explicit dependencies for the packages used to code up the release.

Field calculations to degree 10 and parallel support on Windows

09 Nov 00:48
Compare
Choose a tag to compare

Evaluation of magnetic fields from multipole moments has been expanded for both fully normalized and Schmidt normalized harmonics, which use independent calculations from cartesian coordinates, up to degree n=10. In addition, parallel operation is now supported on Windows through the "spawn" context, whereas "fork" remains the default on other operating systems.

conda installation available

27 Jul 00:11
Compare
Choose a tag to compare

MoonMag can now be installed with conda:
conda install -c itsmoosh moonmag

Removed cartopy dependency and added module-specific logger

30 May 20:15
Compare
Choose a tag to compare

Plotting functions previously used cartopy for generating tick labels and as an axis transform. Lat/lon plots relying on cartopy have been rewritten to remove the dependency, because cartopy cannot currently be installed with pip due to a reliance on additional programs (Proj and GEOS) that cannot be installed with pip.

Output messages for the user are now handled with a logger that can be accessed and configured with logging.getLogger('MoonMag'), allowing importing packages to adjust the MoonMag logging level.