Nnaps

Latest version: v0.2.1

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

Scan your dependencies

Page 1 of 2

0.2.1

Updated the functions that read MESA history files to deal with the new output format used by MESA in v15140 and onwards.

Bugfix: updated the setup file so that the helium_burning.data file is included in the distribution.

0.2.0

Removed XGboost predictors in favour of sklearn native gradient boosted predictors. The basic gradient boosted classifiers are not as good as those of XGBoost, but are more than sufficient for this package and reduce the number of dependencies.

Function usage remains the same, only the naming of the class is changed: XGBPredictor -> GBPredictor

Bugfix: Fixed bug in He ignition phase detection. Core ignition is now taken as He ignition for stars that ignite non degenerately. Previous fix didn't work for all stars.

Documentation: Updated documentation to reflex name change in GBPredictor.

Other: Updated dependencies and added minimum required versions for the most important ones.

0.1.0

Upgraded development status from Alpha to Beta

Streamlined command line interface to be more consistent using command groups. Processing of MESA files is not split into two main tools: compress and extract with their own interface with consistent parameter naming.

Code refactor to keep naming of mesa tools consistent.

Documentation update with new CLI, and extended parts that were not clear.

Implemented CI/CD using github actions.

0.0.10

Bugfix:
- updated mesa.fileio to deal with h5py >= 3.0

Documentation:
- Updated documentation on mass loss and mass loss phases.

0.0.9

Features:
- Added option to flatten the csv output from extract_mesa. So if multiple mass loss phases (or others) are requested, the output csv file can now be flat instead of having nested lists in columns.

Bug fixes:
- Fixed small bug in calculation of M_div_Mdot_div_P
- Fixed bug in fileio.write_hdf5. In versions <3.0 of h5py files are opened in mode 'a' by default, added this in explicitly as in version >=3.0 files are opened in r+ mode and will fail to create a new file.
- The HeIgnition phase now takes into account non degenerate ignition correctly, and for those systems marks the ignition phase based on core ignition criteria instead of a maximum in LHe.

0.0.8

Features:
- extract_mesa can now extract multiple ML phases and include them in the result csv file as list objects. Added n_ml_phases keyword to setup file to deal with this.
- mass loss phases are now counted by default from RLOF alone, wind mass loss is not included.
- ML phase can now distinguish between rlof, wind or total mass loss.
- count_ml_phases function can now distinguish between rlof, wind or total mass loss.
- NNaPS version is added to hdf5 files created by mesa-2h5

Bug fixes:
- count_ml_phases, prevent crashing if the end of the model is reached at the same time of the end of a mass loss phase.
- Fixed issue in determining the start of the MS phase. log(L) wasn't calculated correctly.

Documentation:
- Added support for jupyter notebooks in docs
- Added a tutorial on predicting orbital properties of hot subdwarf binaries.
- Added API section
- Expanded docs on common envelope ejection
- Expanded docs on evolution phases
- Expanded docs on error checking

Other:
- read_mesa is renamed compress_mesa to better fit with future development plans (internal use only)
- extracted duplicated functionality from extract mesa (internal use only)

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.