Chaosmagpy

Latest version: v0.14

Safety actively analyzes 641049 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 4

0.9

| **Version of CHAOS:** CHAOS-7.10 (0710)

Features
^^^^^^^^
* Updated RC-index file to RC_1997-2022_Feb_v3.
* Changed the default leap year setting when loading/saving shc-files using
the model classes to ``leap_year=False``.
* Added function :func:`chaosmagpy.chaos.load_CALS7K_txtfile` to read the
CALS7K coefficients file.
* Function :func:`chaosmagpy.model_utils.design_gauss` now accepts
multidimensional shapes of input grids and preserves them in the output.
* Added new method :meth:`chaosmagpy.chaos.Base.to_ppdict`, which returns a
dictionary of the pp-form compatible with MATLAB.
* Added support for calibration parameters.
* Renamed "params.version" in basicConfig to "params.CHAOS_version".

Bugfixes
^^^^^^^^
* Functions :func:`chaosmagpy.data_utils.dyear_to_mjd` and
:func:`chaosmagpy.data_utils.mjd_to_dyear` now correctly convert
negative decimal years and negative modified Julian dates (erroneous offset
of 1 day due to rounding to integer values).

0.8

| **Version of CHAOS:** CHAOS-7.9 (0709)

Features
^^^^^^^^
* Updated RC-index file to RC_1997-2021_November_v3.
* Added ability to compute field components at the geographic poles.
* Removed cdot from SV, SA units in :func:`chaosmagpy.data_utils.gauss_units`.
* Added :func:`chaosmagpy.coordinate_utils.sh_analysis`, which performs a
spherical harmonic expansion on a callable.

Bugfixes
^^^^^^^^
* Removed Euler pre-rotation, which was not correctly implemented, and added
a warning.
* Fixed shc-file loader to correctly exclude extrapolation sites.
* Fixed numpy broadcasting error in :func:`chaosmagpy.data_utils.mjd2000`.

0.7.1

| **Version of CHAOS:** CHAOS-7.8 (0708)

Bugfixes
^^^^^^^^
* Fixed CHAOS shc-file loader.

0.7

| **Version of CHAOS:** CHAOS-7.8 (0708)

Features
^^^^^^^^
* Added matplotlib's plot_directive for sphinx and added more examples to a
new gallery section in the documentation.
* Added :func:`chaosmagpy.model_utils.pp_from_bspline` to convert the spline
coefficients from B-spline to PP format.
* Changed the way piecewise polynomials are produced from the coefficients in
shc-files. A B-spline representation is now created in an intermediate step
to ensure coefficient time series that are smooth.
* Changed the number format to ``'16.8f'`` when writing shc-files to increase
precision.
* Configuration parameters in ``chaosmagpy.basicConfig`` are now saved to and
loaded from a json-formatted txt-file.
* Added keyword arguments to :meth:`chaosmagpy.chaos.CHAOS.synth_coeffs_sm`
and :meth:`chaosmagpy.chaos.CHAOS.synth_values_sm` to provide the RC-index
values directly instead of using the built-in RC-index file.

0.6

updated (2021-06-15).

Features
^^^^^^^^
* Added new usage sections to the documentation

Bugfixes
^^^^^^^^
* Fixed broken link to RC-index file (GitHub issue 5).
* Added lxml to installation instructions
(needed for webpage requests, optional).
* Require hdf5storage version 0.1.17 (fixed read/write intent)

0.5

| **Version of CHAOS:** CHAOS-7.5 (0705)

Features
^^^^^^^^
* Modified "nio" colormap to be white-centered.
* Added spatial power spectrum of toroidal sources
(:func:`chaosmagpy.model_utils.power_spectrum`)

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.