Nmma

Latest version: v0.2.0

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

Scan your dependencies

0.2.0

- SVD model files previously stored in `.pkl` format now use `.joblib` to save space, (de)compress implicitly and increase read/write speed
- The gitlab repo has been updated with these files but also retains the `pkl` files for backward-compatibility
- The zenodo repo has been deprecated due to file size/number limitations. The repo is still up but will not be accessed by NMMA code
- The latest code will raise an error if `--local-only` is set and no `joblib` files have been downloaded. Local workflows should remove this flag temporarily to download the needed files from gitlab

What's Changed
* change the order of urls in pyproject.toml by sahiljhawar in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/321
* Add cff by sahiljhawar in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/324
* Doker file for NMMA by FabioRagosta in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/322
* Only run docker CI/website deploy workflows on primary repo by bfhealy in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/325
* Redefine default filters for make_lcs scripts by bfhealy in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/327
* Restrict to Python < 3.12 by sahiljhawar in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/328
* Update pyproject.toml by sahiljhawar in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/329
* Switch pickle model format to joblib by bfhealy in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/290
* Adding functionality for using Bayestar fit input for inclination by tsunhopang in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/330


**Full Changelog**: https://github.com/nuclear-multimessenger-astronomy/nmma/compare/0.1.4...0.2.0

0.1.4

What's Changed
* Versioning change by Theodlz in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/286
* Require scipy < 1.10 by bfhealy in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/287
* Require scipy >= 1.10 by bfhealy in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/288
* local SVD models using`--local-only` for LC generation by sahiljhawar in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/289
* Update README.md by sahiljhawar in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/291
* Add new version of Bulla model: Bu2023Ye by shreyasahasram08 in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/292
* adding functions to model_parameters by bking-astro in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/297
* Remove 'old-style' _mag model code by bfhealy in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/298
* Add local-model-only flag to joint analyses by bfhealy in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/294
* Adding capcability for Lbol inference by tsunhopang in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/300
* Fix svdmodel_benchmark filter specification, add unit test by bfhealy in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/303
* Enhancements for EM Counterpart Detection and Bandpass Interpolation (sncosmo) by weizmannk in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/305
* Add tool to convert skyportal lightcurves to nmma format by bfhealy in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/304
* Add example script containing tf training calls by bfhealy in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/309
* Refactor convert_skyportal_lcs.py for script installation by bfhealy in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/310
* Update LANL model in tf_training_calls.sh by bfhealy in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/311
* Remove duplicate line from Bu2023Ye prior by bfhealy in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/312
* Refactor resample_grid.py to enable script installation by bfhealy in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/313
* changes to filters flag in LC gen. Check MPI in analysis.py by sahiljhawar in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/314
* Let svdmodel-benchmark take comma-separated filters by bfhealy in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/315
* minor update to documentation formatting by tylerbarna in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/320
* Refactor unit tests to support local pytest runs by bfhealy in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/319

New Contributors
* tsunhopang made their first contribution in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/300

**Full Changelog**: https://github.com/nuclear-multimessenger-astronomy/nmma/compare/0.1.3...0.1.4

0.1.3

What's Changed
* Change how version is written to NMMA by sahiljhawar in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/261
* check and set trigger time by sahiljhawar in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/259
* Multimessenger Inference updates by haukekoehn in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/262
* Add documentation of analysis_slurm.py to Cluster Resources guide by bfhealy in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/264
* Add flag to skip sampling in analysis.py by bfhealy in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/266
* Add --skip-sampling flag to analysis slurm script generator by bfhealy in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/267
* Improved documentation, added tutorial notebook by ThibeauWouters in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/268
* Update lightcurve_simulation tutorial notebook and bulla files by bfhealy in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/269
* Modify --skip-sampling behavior to successfully generate plots by bfhealy in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/270
* Remove temporary line in utils/models.py by bfhealy in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/271
* Enable continued training of existing tensorflow model by bfhealy in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/272
* Update app.py for new syntax, easier use by bfhealy in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/273
* Add tensorflow requirement by bfhealy in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/274
* Remove more code made obsolote by Zenodo model updates by bfhealy in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/277
* Add code to downsample/fragment large hdf5 grids by bfhealy in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/275
* Add reduced lightcurve data by haukekoehn in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/278
* NMMA models - multiple sources by Theodlz in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/279
* Add timeshift to time values to fix analysis error by bfhealy in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/281
* Add ZTF23aaxeacr lightcurve to example_files by bfhealy in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/282
* Add notebook requirement by bfhealy in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/283

New Contributors
* ThibeauWouters made their first contribution in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/268

**Full Changelog**: https://github.com/nuclear-multimessenger-astronomy/nmma/compare/0.1.2...0.1.3

0.1.2

What's Changed
* Add simpler install option for pyfftw on arm64 Mac by bfhealy in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/246
* Switch underscore to hyphen for all NMMA args by bfhealy in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/247
* Add code to generate slurm script for lightcurve-analysis on HPC by bfhealy in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/248
* Allow analysis_slurm.py to handle a mix of slurm and analysis.py arguments by bfhealy in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/249
* Fixes for multimessenger analysis by haukekoehn in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/252
* write bayesfactor to json by sahiljhawar in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/255
* Update analysis_slurm.py code for smoother analyses on Expanse by bfhealy in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/258
* Python version upgrade by sahiljhawar in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/260


**Full Changelog**: https://github.com/nuclear-multimessenger-astronomy/nmma/compare/v0.1.0...0.1.2

0.1.0

0.0.19

---

Overview:

In our commitment to continuous improvement, we're excited to announce the release of NMMA v0.1.0. This release introduces significant changes to the NMMA project's packaging configuration, aligning with the latest best practices in the Python community.

---

Key Changes:

1. **Transition to `pyproject.toml`**:
- We have transitioned from using `setup.py` to the modern standard, `pyproject.toml`, for our project configuration. This ensures our project remains maintainable and easy to contribute to.

2. **Entry Points Update**:
- The definition of our project's entry points (console scripts) has been modernized.
- Previously: Defined in `setup.py` under `entry_points`.
- Now: Defined in `pyproject.toml` under `[project.scripts]`.
- The new entry points:

bash
nmma-generation = "nmma.pbilby.generation:main_nmma"
nmma-gw-generation = "nmma.pbilby.generation:main_nmma_gw"
nmma-analysis = "nmma.pbilby.analysis:main_nmma"
nmma-gw-analysis = "nmma.pbilby.analysis:main_nmma_gw"
lightcurve-analysis = "nmma.em.analysis:main"
lightcurve-analysis-condor = "nmma.em.analysis_condor:main"
lightcurve-injection-summary = "nmma.em.injection_summary:main"
lightcurve-injection-slurm-setup = "nmma.em.create_injection_slurm:main"
lightcurve-injection-condor-setup = "nmma.em.create_injection_condor:main"
lightcurve-manual = "nmma.em.manual:main"
lightcurve-marginalization = "nmma.em.lightcurve_marginalization:main"
combine-EOS = "nmma.em.combine_EOS:main"
create-lightcurve-slurm = "nmma.em.create_lightcurves_slurm:main"
create-lightcurve-condor = "nmma.em.create_lightcurves_condor:main"
create-svdmodel = "nmma.em.create_svdmodel:main"
svdmodel-benchmark = "nmma.em.svdmodel_benchmark:main"
svdmodel-download = "nmma.utils.models:main"
lightcurve-generation = "nmma.em.create_lightcurves:main"
lightcurve-detection = "nmma.em.detect_lightcurves:main"
nmma-create-injection = "nmma.eos.create_injection:main"
gwem-resampling = "nmma.em.gwem_resampling:main"
gwem-resampling-condor = "nmma.em.gwem_resampling_condor:main"
gwem-Hubble-estimate = "nmma.em.gwem_Hubble_estimate:main"


3. **Installation from Source**:
- The method to install the project from source has been updated:
- Previously: `python setup.py install`.
- Now:
- `pip install .`
- Or, for a development install: `pip install -e .`

---

Implications:

- Users will need to adapt to the new entry points and installation method.
- While the functionalities remain consistent, the command syntax has been updated. Users are encouraged to update their workflows accordingly.

---

Additional Information:
- `KNtimeshift` has now been renamed to `timeshift`, make sure to use the new name since no more deprecation warning will be raised for this.
- For a detailed overview of the NMMA library, its purpose, and usage instructions, refer to the [documentation](https://nuclear-multimessenger-astronomy.github.io/nmma/).
- NMMA now saves/loads the same core `.pkl` file regardless of interpolation type. Note that existing core files of the form `model_tf.pkl` are identical to `model.pkl`.

---

We believe these changes enhance the robustness of our project and simplify its management. We appreciate your continued support and understanding. For any queries or feedback regarding this release, please reach out to our team.

---

What's Changed
* Update docs by sahiljhawar in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/185
* restructured docs by sahiljhawar in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/191
* support for coveralls by sahiljhawar in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/192
* Update python-package.yml by sahiljhawar in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/193
* Fix datatype of redshift by haukekoehn in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/195
* Add coveralls by sahiljhawar in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/194
* Fix bug from redshift datatype conversion by haukekoehn in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/198
* corner plot script by sahiljhawar in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/186
* Update index.rst by np699 in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/199
* Fix API photometry filter naming and plot filename by bfhealy in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/200
* Add ultranest and tornado requirements by bfhealy in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/201
* rejection_sampling_argument in main.py by haukekoehn in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/204
* Add installation guide for custom lalsuite by haukekoehn in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/205
* Explain how the EM prior file needs to be updated by haukekoehn in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/207
* Rename Bu2022Ye KNtimeshift prior by bfhealy in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/208
* KNtimeshift -> timeshift by mcoughlin in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/209
* Changes to gwem_resampling_utils by haukekoehn in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/212
* Update filter docs by mcoughlin in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/223
* Caching and test for GP by sahiljhawar in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/224
* adds warning that KNtimeshift is deprecated by tylerbarna in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/226
* pinning GRB parameters by sahiljhawar in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/228
* Restrict scikit-learn version to <1.2 by bfhealy in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/231
* updated mac installation by sahiljhawar in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/232
* NMMA 2023 by sahiljhawar in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/233
* Fixed missing Sr2023 model by weizmannk in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/235
* Set random seed for python/numpy/tf during nn training by bfhealy in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/236
* Limit pandas to <2.0 for .pkl file compatibility by bfhealy in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/238
* Fix refresh models list typo by tylerbarna in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/239
* Replace setup.py with pyproject.toml by mcoughlin in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/242
* remove KNTimeshift deprecation warning by tylerbarna in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/243

New Contributors
* np699 made their first contribution in https://github.com/nuclear-multimessenger-astronomy/nmma/pull/199

**Full Changelog**: https://github.com/nuclear-multimessenger-astronomy/nmma/compare/v0.0.19...0.1.0

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.