xuanxu / starmatrix

Modelling nucleosynthesis of galactic chemical elements
https://starmatrix.readthedocs.io
MIT License
1 stars 3 forks source link

Add Kroupa 2001 IMF #49

Closed xuanxu closed 2 years ago

xuanxu commented 2 years ago

This PR adds a new IMF from Kroupa 2001.

New IMF is similar to Kroupa 2002 but with alpha3 = 2.3

codecov[bot] commented 2 years ago

Codecov Report

Merging #49 (96df81c) into main (367550a) will increase coverage by 0.01%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #49      +/-   ##
==========================================
+ Coverage   98.23%   98.25%   +0.01%     
==========================================
  Files          12       12              
  Lines        1019     1030      +11     
  Branches      202      224      +22     
==========================================
+ Hits         1001     1012      +11     
  Partials       18       18              
Impacted Files Coverage Δ
src/starmatrix/settings.py 100.00% <ø> (ø)
src/starmatrix/imfs.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 367550a...96df81c. Read the comment docs.