Naima

Latest version: v0.9.1

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

Scan your dependencies

Page 2 of 3

0.8.1

------------------

Bug fixes
^^^^^^^^^

- Fixed deprecated negative signs on numpy booleans.
- Fixed wrong sign in delta functional approximation of Kelner PionDecay.

0.8

----------------

- Added a `threads` parameter to `plot_fit` and `plot_samples` that set the
number of cores to use in computing model samples for plotting.
- Added a new model for EBL absorption based on the tables of Dominguez et al.
2011.

Bug fixes
^^^^^^^^^
- Updated to use new ``emcee`` autocorrelation API in version 2.2.
- Fixed sherpa models string representation.

0.7.1

------------------

- Packaging bugfix

0.7

----------------

- The ``InverseCompton`` class can now compute IC on arbitrary seed photon
fields passed as arrays.
- ``plot_fit`` and ``plot_data`` have new options (``errorbar_opts`` and
``ulim_opts``) to control the properties of spectral flux points and
upper-limits.
- There is a new table model class in ``naima.models.TableModel``.
- Added ``corner`` (former ``triangle_plot``) as a dependency.

0.6.1

------------------

- Performance improvements to the memoize logic that result in 10% or higher
improvement in model execution time.

0.6

----------------

- Medians and associated errors are now shown with a precision corresponding to
a single significant digit in the errors (except when the leading digit is 1,
when two significant digits are shown). Note that they are still saved with
full precision to the result tables.
- There is a new GUI tool for interactive model fitting:
``InteractiveModelFitter``, which can be accessed directly or through the
``interactive`` argument of ``get_sampler`` prior to a sampling run.
- Sampling run results can be saved and retrieved for later analysis or archival
with the new functions `naima.save_run` and `naima.read_run`.
- The individual contributions to the total Inverse Compton spectrum of the
different seed photon fields can now be accessed through the ``seed`` argument
of the ``InverseCompton.flux`` and ``InverseCompton.sed`` functions.

Bug Fixes
^^^^^^^^^

- ``save_diagnostic_plots`` now turns matplotlib interactivity off, so the plots
are only saved and not shown.
- The ``group`` column is now preserved if a data table is validated more than
once.

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.