Changelog#
Release version 0.2.2#
Released on 2024-11-08 - GitHub - PyPI
What's Changed
- nflows only in nnanalysis by @sahiljhawar in #376
- Update requirements.txt by @sahiljhawar in #377
- bug fix and new function in NSBH ejecta fits by @atoivonen13 in #381
- add support for time dependent (and filter dependent) systematic error by @sahiljhawar in #383
- threadpoolexecutor for distributing MPI by @sahiljhawar in #230
- working test by @sahiljhawar in #384
- systematics docs by @sahiljhawar in #387
- refactored systematics code by @sahiljhawar in #385
Full Changelog: 0.2.1...0.2.2
Release version 0.2.1#
Released on 2024-07-31 - GitHub - PyPI
What's Changed
- add changelog by @sahiljhawar in #331
- add changelog by @sahiljhawar in #332
- Allow user specify ra,dec for fits input by @tsunhopang in #333
- Restrict tensorflow to <=2.15.0 to avoid new errors by @bfhealy in #334
- Modify analysis slurm script to include PRIOR variable by @bfhealy in #336
- Update docker/build-push-action from v4 to v5 by @bfhealy in #339
- Save json file with benchmark chi2 percentiles by @bfhealy in #340
- More consistent loading of lightcurve files by @tylerbarna in #341
- Restructure sncosmo.get_bandpass block in get_default_filts_lambdas by @bfhealy in #343
- Utility to validate lightcurves are observed adequately by @tylerbarna in #342
- Add script to plot all benchmark results for a model by @bfhealy in #345
- Update of resampling methods by @haukekoehn in #348
- Remove LANL2022 model in favor of specific morphologies by @bfhealy in #349
- Update index.rst by @bking-astro in #350
- add
rst
linter by @sahiljhawar in #351 - update filter doc by @sahiljhawar in #353
- add numcodecs to yml by @sahiljhawar in #355
- Add example slurm script used by nmma API by @bfhealy in #356
- Prevent parallel model download when using MPI by @sahiljhawar in #361
- Fix NSBH disk mass fit by @atoivonen13 in #360
- add support for citations attribute by @sahiljhawar in #364
- Fetching Ebv from dustmap by @tsunhopang in #366
- adding new rubin ToO strategy into nmma by @bking-astro in #363
- Observing scenarios lightcurves sim by @weizmannk in #368
- Better summary plot for lightcurve-analysis by @tsunhopang in #365
- Adding neural network inference to NMMA by @malinadesai in #370
- Add support for Python 3.12 by @sahiljhawar in #371
- Fix pyproject.toml by @mcdavis62 in #373
- Additional Dependencies by @sahiljhawar in #372
New Contributors
- @malinadesai made their first contribution in #370
- @mcdavis62 made their first contribution in #373
Full Changelog: 0.2.0...0.2.1
Release version 0.2.0#
Released on 2024-03-11 - GitHub - PyPI
Major changes in v0.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 nojoblib
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 #321
- Add cff by @sahiljhawar in #324
- Doker file for NMMA by @FabioRagosta in #322
- Only run docker CI/website deploy workflows on primary repo by @bfhealy in #325
- Redefine default filters for make_lcs scripts by @bfhealy in #327
- Restrict to Python < 3.12 by @sahiljhawar in #328
- Update pyproject.toml by @sahiljhawar in #329
- Switch pickle model format to joblib by @bfhealy in #290
- Adding functionality for using Bayestar fit input for inclination by @tsunhopang in #330
Full Changelog: 0.1.4...0.2.0
Release version 0.1.4#
Released on 2024-02-13 - GitHub - PyPI
What's Changed
- Versioning change by @Theodlz in #286
- Require scipy < 1.10 by @bfhealy in #287
- Require scipy >= 1.10 by @bfhealy in #288
- local SVD models using
--local-only
for LC generation by @sahiljhawar in #289 - Update README.md by @sahiljhawar in #291
- Add new version of Bulla model: Bu2023Ye by @shreyasahasram08 in #292
- adding functions to model_parameters by @bking-astro in #297
- Remove 'old-style' _mag model code by @bfhealy in #298
- Add local-model-only flag to joint analyses by @bfhealy in #294
- Adding capcability for Lbol inference by @tsunhopang in #300
- Fix svdmodel_benchmark filter specification, add unit test by @bfhealy in #303
- Enhancements for EM Counterpart Detection and Bandpass Interpolation (sncosmo) by @weizmannk in #305
- Add tool to convert skyportal lightcurves to nmma format by @bfhealy in #304
- Add example script containing tf training calls by @bfhealy in #309
- Refactor convert_skyportal_lcs.py for script installation by @bfhealy in #310
- Update LANL model in tf_training_calls.sh by @bfhealy in #311
- Remove duplicate line from Bu2023Ye prior by @bfhealy in #312
- Refactor resample_grid.py to enable script installation by @bfhealy in #313
- changes to filters flag in LC gen. Check MPI in analysis.py by @sahiljhawar in #314
- Let svdmodel-benchmark take comma-separated filters by @bfhealy in #315
- minor update to documentation formatting by @tylerbarna in #320
- Refactor unit tests to support local pytest runs by @bfhealy in #319
New Contributors
- @tsunhopang made their first contribution in #300
Full Changelog: 0.1.3...0.1.4
Release version 0.1.3#
Released on 2023-12-07 - GitHub - PyPI
What's Changed
- Change how version is written to NMMA by @sahiljhawar in #261
- check and set trigger time by @sahiljhawar in #259
- Multimessenger Inference updates by @haukekoehn in #262
- Add documentation of analysis_slurm.py to Cluster Resources guide by @bfhealy in #264
- Add flag to skip sampling in analysis.py by @bfhealy in #266
- Add --skip-sampling flag to analysis slurm script generator by @bfhealy in #267
- Improved documentation, added tutorial notebook by @ThibeauWouters in #268
- Update lightcurve_simulation tutorial notebook and bulla files by @bfhealy in #269
- Modify --skip-sampling behavior to successfully generate plots by @bfhealy in #270
- Remove temporary line in utils/models.py by @bfhealy in #271
- Enable continued training of existing tensorflow model by @bfhealy in #272
- Update app.py for new syntax, easier use by @bfhealy in #273
- Add tensorflow requirement by @bfhealy in #274
- Remove more code made obsolote by Zenodo model updates by @bfhealy in #277
- Add code to downsample/fragment large hdf5 grids by @bfhealy in #275
- Add reduced lightcurve data by @haukekoehn in #278
- NMMA models - multiple sources by @Theodlz in #279
- Add timeshift to time values to fix analysis error by @bfhealy in #281
- Add ZTF23aaxeacr lightcurve to example_files by @bfhealy in #282
- Add notebook requirement by @bfhealy in #283
New Contributors
- @ThibeauWouters made their first contribution in #268
Full Changelog: 0.1.2...0.1.3
Release version 0.1.2#
Released on 2023-10-06 - GitHub - PyPI
What's Changed
- Add simpler install option for pyfftw on arm64 Mac by @bfhealy in #246
- Switch underscore to hyphen for all NMMA args by @bfhealy in #247
- Add code to generate slurm script for lightcurve-analysis on HPC by @bfhealy in #248
- Allow analysis_slurm.py to handle a mix of slurm and analysis.py arguments by @bfhealy in #249
- Fixes for multimessenger analysis by @haukekoehn in #252
- write bayesfactor to json by @sahiljhawar in #255
- Update analysis_slurm.py code for smoother analyses on Expanse by @bfhealy in #258
- Python version upgrade by @sahiljhawar in #260
Full Changelog: v0.1.0...0.1.2
v0.1.0: Release version 0.1.0#
Released on 2023-09-20 - GitHub - PyPI
NMMA Release Notes - Version 0.1.0
Previous Version: 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:
-
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.
- We have transitioned from using
-
Entry Points Update:
-
The definition of our project's entry points (console scripts) has been modernized.
- Previously: Defined in
setup.py
underentry_points
. - Now: Defined in
pyproject.toml
under[project.scripts]
.
- Previously: Defined in
-
The new entry points:
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"
-
-
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 .
- Previously:
- The method to install the project from source has been updated:
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 totimeshift
, 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.
- NMMA now saves/loads the same core
.pkl
file regardless of interpolation type. Note that existing core files of the formmodel_tf.pkl
are identical tomodel.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 #185
- restructured docs by @sahiljhawar in #191
- support for coveralls by @sahiljhawar in #192
- Update python-package.yml by @sahiljhawar in #193
- Fix datatype of redshift by @haukekoehn in #195
- Add coveralls by @sahiljhawar in #194
- Fix bug from redshift datatype conversion by @haukekoehn in #198
- corner plot script by @sahiljhawar in #186
- Update index.rst by @np699 in #199
- Fix API photometry filter naming and plot filename by @bfhealy in #200
- Add ultranest and tornado requirements by @bfhealy in #201
- rejection_sampling_argument in main.py by @haukekoehn in #204
- Add installation guide for custom lalsuite by @haukekoehn in #205
- Explain how the EM prior file needs to be updated by @haukekoehn in #207
- Rename Bu2022Ye KNtimeshift prior by @bfhealy in #208
- KNtimeshift -> timeshift by @mcoughlin in #209
- Changes to gwem_resampling_utils by @haukekoehn in #212
- Update filter docs by @mcoughlin in #223
- Caching and test for GP by @sahiljhawar in #224
- adds warning that KNtimeshift is deprecated by @tylerbarna in #226
- pinning GRB parameters by @sahiljhawar in #228
- Restrict scikit-learn version to <1.2 by @bfhealy in #231
- updated mac installation by @sahiljhawar in #232
- NMMA 2023 by @sahiljhawar in #233
- Fixed missing Sr2023 model by @weizmannk in #235
- Set random seed for python/numpy/tf during nn training by @bfhealy in #236
- Limit pandas to <2.0 for .pkl file compatibility by @bfhealy in #238
- Fix refresh models list typo by @tylerbarna in #239
- Replace setup.py with pyproject.toml by @mcoughlin in #242
- remove KNTimeshift deprecation warning by @tylerbarna in #243
New Contributors
Full Changelog: v0.0.19...0.1.0