Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ import ssptools

m_break, a_slopes, nbins = [0.08, 0.5, 150.], [+1.3, -2.3], [5, 30]
pdmf = ssptools.EvolvedMF.from_powerlaw(m_break, a_slopes, nbins,
FeH=-1.5, tout=13000, Ndot=0, N0=1e6)
FeH=-1.5, tout=13000, esc_rate=0, N0=1e6)
```

Alternatively, an IMF class can be instantiated and used directly:

```python
imf = ssptools.masses.PowerLawIMF(m_break, a_slopes, N0=1e6)
pdmf = ssptools.EvolvedMF(imf, nbins, FeH=-1.5, tout=[0, 1000, 13000], Ndot=0)
pdmf = ssptools.EvolvedMF(imf, nbins, FeH=-1.5, tout=[0, 1000, 13000], esc_rate=0)
```

See the documentation of each class for more details on all possible parameters.
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "astro-ssptools"
version = "2.1.4"
version = "3.0.0"
description = "Simple Stellar Population Tools"
authors = [
{name = "Eduardo Balbinot", email = "eduardo.balbinot@gmail.com"},
Expand All @@ -20,7 +20,7 @@ dependencies = [
]

classifiers = [
"Development Status :: 4 - Beta",
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Astronomy",
Expand Down
2 changes: 1 addition & 1 deletion ssptools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

__author__ = """Eduardo Balbinot"""
__email__ = "eduardo.balbinot@gmail.com"
__version__ = "2.1.4"
__version__ = "3.0.0"

from .evolve_mf import *
from .sev import *
Loading
Loading