diffstar 0.2.0__tar.gz → 0.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- diffstar-0.2.0/.github/workflows/tests.yml → diffstar-0.2.2/.github/workflows/linting.yml +4 -16
- diffstar-0.2.2/.github/workflows/tests.yml +81 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/CHANGES.rst +10 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/PKG-INFO +4 -4
- {diffstar-0.2.0 → diffstar-0.2.2}/README.md +3 -3
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/__init__.py +1 -2
- diffstar-0.2.2/diffstar/_version.py +1 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/kernels/kernel_builders.py +5 -2
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/tests/test_sfh.py +24 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar.egg-info/PKG-INFO +4 -4
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar.egg-info/SOURCES.txt +1 -0
- diffstar-0.2.0/diffstar/_version.py +0 -1
- {diffstar-0.2.0 → diffstar-0.2.2}/.coveragerc +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/.git_archival.txt +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/.gitattributes +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/.gitignore +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/.readthedocs.yml +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/LICENSE.rst +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/data_loaders/__init__.py +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/data_loaders/load_bpl.py +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/data_loaders/load_smah_data.py +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/data_loaders/tests/__init__.py +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/data_loaders/tests/test_load_bpl.py +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/defaults.py +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/fitting_helpers/__init__.py +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/fitting_helpers/fit_smah_helpers.py +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/fitting_helpers/fitting_kernels.py +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/fitting_helpers/param_clippers.py +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/fitting_helpers/stars.py +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/fitting_helpers/tests/__init__.py +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/fitting_helpers/tests/test_fitting_kernels.py +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/fitting_helpers/tests/test_fitting_kernels_are_frozen.py +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/fitting_helpers/tests/test_fitting_smah_helpers.py +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/fitting_helpers/tests/test_param_clippers.py +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/fitting_helpers/tests/test_stars.py +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/fitting_helpers/utils.py +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/kernels/__init__.py +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/kernels/gas_consumption.py +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/kernels/main_sequence_kernels.py +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/kernels/quenching_kernels.py +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/kernels/tests/__init__.py +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/kernels/tests/test_frozen_diffstar_kernels.py +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/kernels/tests/test_kernel_builders.py +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/kernels/tests/test_quenching_kernels.py +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/kernels/tests/testing_data/mah_params_testing_v0.1.0.txt +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/kernels/tests/testing_data/ms_params_testing_v0.1.0.txt +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/kernels/tests/testing_data/q_params_testing_v0.1.0.txt +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/kernels/tests/testing_data/sfh_table_testing_v0.1.0.txt +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/kernels/tests/testing_data/t_table_testing_v0.1.0.txt +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/kernels/tests/testing_data/u_ms_params_testing_v0.1.0.txt +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/kernels/tests/testing_data/u_q_params_testing_v0.1.0.txt +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/sfh.py +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/tests/__init__.py +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/tests/test_defaults.py +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/tests/test_gas.py +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/tests/test_lax_main_sequence.py +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/tests/test_lax_sfh.py +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/tests/test_quenching.py +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/tests/test_utils.py +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/tests/testing_data/default_params_test_diffmah_params.txt +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/tests/testing_data/default_params_test_dmhdt.txt +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/tests/testing_data/default_params_test_dt.txt +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/tests/testing_data/default_params_test_lgt.txt +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/tests/testing_data/default_params_test_log_mah.txt +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/tests/testing_data/default_params_test_sfh.txt +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/tests/testing_data/default_params_test_u_ms_params.txt +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/tests/testing_data/default_params_test_u_q_params.txt +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/tests/testing_data/dt_bpl.txt +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/tests/testing_data/halo_ids_test_sample.txt +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/tests/testing_data/lgt_bpl.txt +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/tests/testing_data/mah_params_test_sample.txt +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/tests/testing_data/ms_u_params_test_sample.txt +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/tests/testing_data/q_u_params_test_sample.txt +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/tests/testing_data/sfh_test_sample.txt +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar/utils.py +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar.egg-info/dependency_links.txt +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar.egg-info/requires.txt +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/diffstar.egg-info/top_level.txt +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/docs/Makefile +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/docs/make.bat +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/docs/source/_static/README.txt +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/docs/source/citation.rst +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/docs/source/conf.py +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/docs/source/demo_diffstar_fitter.ipynb +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/docs/source/demo_diffstar_sfh.ipynb +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/docs/source/demos.rst +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/docs/source/index.rst +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/docs/source/installation.rst +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/docs/source/reference.rst +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/docs/source/rtd_environment.yaml +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/pyproject.toml +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/requirements.txt +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/scripts/generate_unit_testing_data.py +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/scripts/history_fitting_script.py +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/setup.cfg +0 -0
- {diffstar-0.2.0 → diffstar-0.2.2}/setup.py +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
name:
|
|
1
|
+
name: linting
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
4
|
push:
|
|
@@ -26,25 +26,13 @@ jobs:
|
|
|
26
26
|
- name: configure conda and install code
|
|
27
27
|
shell: bash -l {0}
|
|
28
28
|
run: |
|
|
29
|
-
|
|
30
|
-
conda install --quiet \
|
|
29
|
+
mamba install --quiet \
|
|
31
30
|
--file=requirements.txt
|
|
32
31
|
python -m pip install --no-deps -e .
|
|
33
|
-
|
|
34
|
-
flake8
|
|
35
|
-
pytest \
|
|
36
|
-
pytest-xdist \
|
|
37
|
-
pytest-cov
|
|
32
|
+
mamba install -y -q \
|
|
33
|
+
flake8
|
|
38
34
|
|
|
39
35
|
- name: lint
|
|
40
36
|
shell: bash -l {0}
|
|
41
37
|
run: |
|
|
42
38
|
flake8 diffstar
|
|
43
|
-
|
|
44
|
-
- name: test
|
|
45
|
-
shell: bash -l {0}
|
|
46
|
-
run: |
|
|
47
|
-
pytest -v diffstar --cov --cov-report=xml
|
|
48
|
-
|
|
49
|
-
- name: Upload coverage reports to Codecov
|
|
50
|
-
uses: codecov/codecov-action@v3
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
name: tests
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch: null
|
|
5
|
+
schedule:
|
|
6
|
+
# Runs "every Monday & Thursday at 3:05am Central"
|
|
7
|
+
- cron: '5 8 * * 1,4'
|
|
8
|
+
push:
|
|
9
|
+
branches:
|
|
10
|
+
- main
|
|
11
|
+
pull_request: null
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
tests:
|
|
15
|
+
name: tests
|
|
16
|
+
runs-on: "ubuntu-latest"
|
|
17
|
+
|
|
18
|
+
steps:
|
|
19
|
+
- uses: actions/checkout@v2
|
|
20
|
+
with:
|
|
21
|
+
fetch-depth: 0
|
|
22
|
+
|
|
23
|
+
- uses: conda-incubator/setup-miniconda@v2
|
|
24
|
+
with:
|
|
25
|
+
python-version: 3.9
|
|
26
|
+
channels: conda-forge,defaults
|
|
27
|
+
channel-priority: strict
|
|
28
|
+
show-channel-urls: true
|
|
29
|
+
miniforge-version: latest
|
|
30
|
+
miniforge-variant: Mambaforge
|
|
31
|
+
use-mamba: true
|
|
32
|
+
|
|
33
|
+
- name: configure conda and install code
|
|
34
|
+
shell: bash -l {0}
|
|
35
|
+
run: |
|
|
36
|
+
conda config --set always_yes yes
|
|
37
|
+
mamba install --quiet \
|
|
38
|
+
--file=requirements.txt
|
|
39
|
+
python -m pip install --no-deps -e .
|
|
40
|
+
mamba install -y -q \
|
|
41
|
+
flake8 \
|
|
42
|
+
pytest \
|
|
43
|
+
pytest-xdist \
|
|
44
|
+
pytest-cov \
|
|
45
|
+
pip \
|
|
46
|
+
setuptools \
|
|
47
|
+
"setuptools_scm>=7,<8" \
|
|
48
|
+
python-build
|
|
49
|
+
python -m pip install --no-build-isolation --no-deps -e .
|
|
50
|
+
|
|
51
|
+
- name: test
|
|
52
|
+
shell: bash -l {0}
|
|
53
|
+
run: |
|
|
54
|
+
pytest -v diffstar --cov --cov-report=xml
|
|
55
|
+
|
|
56
|
+
- name: Upload coverage reports to Codecov
|
|
57
|
+
uses: codecov/codecov-action@v3
|
|
58
|
+
|
|
59
|
+
- name: test versions
|
|
60
|
+
shell: bash -el {0}
|
|
61
|
+
run: |
|
|
62
|
+
pip uninstall diffstar --yes
|
|
63
|
+
[[ $(python setup.py --version) != "0.0.0" ]] || exit 1
|
|
64
|
+
|
|
65
|
+
rm -rf dist/*
|
|
66
|
+
python setup.py sdist
|
|
67
|
+
pip install --no-deps --no-build-isolation dist/*.tar.gz
|
|
68
|
+
pushd ..
|
|
69
|
+
python -c "import diffstar; assert diffstar.__version__ != '0.0.0'"
|
|
70
|
+
popd
|
|
71
|
+
pip uninstall diffstar --yes
|
|
72
|
+
|
|
73
|
+
rm -rf dist/*
|
|
74
|
+
python -m build --sdist . --outdir dist
|
|
75
|
+
pip install --no-deps --no-build-isolation dist/*.tar.gz
|
|
76
|
+
pushd ..
|
|
77
|
+
python -c "import diffstar; assert diffstar.__version__ != '0.0.0'"
|
|
78
|
+
popd
|
|
79
|
+
pip uninstall diffstar --yes
|
|
80
|
+
|
|
81
|
+
python -m pip install -v --no-deps --no-build-isolation -e .
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
0.2.2 (2023-10-08)
|
|
2
|
+
------------------
|
|
3
|
+
- Fix forgotten import so that diffstar.__version__ now works
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
0.2.1 (2023-09-27)
|
|
7
|
+
------------------
|
|
8
|
+
- Implement floor at SFR_MIN in all computations of SFH
|
|
9
|
+
|
|
10
|
+
|
|
1
11
|
0.2.0 (2023-09-25)
|
|
2
12
|
------------------
|
|
3
13
|
- Remove quenching.py module
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: diffstar
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: Differentiable Star Formation Histories
|
|
5
5
|
Author-email: Alex Alarcon <alexalarcongonzalez@gmail.com>
|
|
6
6
|
License: BSD 3-Clause License
|
|
@@ -47,7 +47,7 @@ Requires-Dist: h5py
|
|
|
47
47
|
## Installation
|
|
48
48
|
The latest release of diffstar is available for installation with either pip or conda-forge:
|
|
49
49
|
```
|
|
50
|
-
$ conda install diffstar
|
|
50
|
+
$ conda install -c conda-forge diffstar
|
|
51
51
|
```
|
|
52
52
|
|
|
53
53
|
Alternatively, to install diffstar into your environment from the source code:
|
|
@@ -58,10 +58,10 @@ $ pip install .
|
|
|
58
58
|
```
|
|
59
59
|
|
|
60
60
|
### Environment configuration
|
|
61
|
-
For a typical development environment
|
|
61
|
+
For a typical development environment with conda-forge:
|
|
62
62
|
|
|
63
63
|
```
|
|
64
|
-
$ conda create -n diffit python=3.9 numpy numba flake8 pytest jax ipython jupyter matplotlib scipy h5py diffmah diffstar
|
|
64
|
+
$ conda create -c conda-forge -n diffit python=3.9 numpy numba flake8 pytest jax ipython jupyter matplotlib scipy h5py diffmah diffstar
|
|
65
65
|
```
|
|
66
66
|
|
|
67
67
|
## Project data
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
## Installation
|
|
4
4
|
The latest release of diffstar is available for installation with either pip or conda-forge:
|
|
5
5
|
```
|
|
6
|
-
$ conda install diffstar
|
|
6
|
+
$ conda install -c conda-forge diffstar
|
|
7
7
|
```
|
|
8
8
|
|
|
9
9
|
Alternatively, to install diffstar into your environment from the source code:
|
|
@@ -14,10 +14,10 @@ $ pip install .
|
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
### Environment configuration
|
|
17
|
-
For a typical development environment
|
|
17
|
+
For a typical development environment with conda-forge:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
$ conda create -n diffit python=3.9 numpy numba flake8 pytest jax ipython jupyter matplotlib scipy h5py diffmah diffstar
|
|
20
|
+
$ conda create -c conda-forge -n diffit python=3.9 numpy numba flake8 pytest jax ipython jupyter matplotlib scipy h5py diffmah diffstar
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
## Project data
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '0.2.2'
|
|
@@ -5,7 +5,7 @@ from jax import lax
|
|
|
5
5
|
from jax import numpy as jnp
|
|
6
6
|
from jax import vmap
|
|
7
7
|
|
|
8
|
-
from ..defaults import DEFAULT_N_STEPS, T_BIRTH_MIN
|
|
8
|
+
from ..defaults import DEFAULT_N_STEPS, SFR_MIN, T_BIRTH_MIN
|
|
9
9
|
from .main_sequence_kernels import _get_bounded_sfr_params, _lax_ms_sfh_scalar_kern
|
|
10
10
|
from .quenching_kernels import _quenching_kern_u_params
|
|
11
11
|
|
|
@@ -64,6 +64,7 @@ def get_sfh_from_mah_kern(
|
|
|
64
64
|
lgt_form = jnp.log10(t_form)
|
|
65
65
|
qfunc = _quenching_kern_u_params(lgt_form, *u_q_params)
|
|
66
66
|
sfr = qfunc * ms_sfr
|
|
67
|
+
sfr = lax.cond(sfr < SFR_MIN, lambda x: SFR_MIN, lambda x: x, sfr)
|
|
67
68
|
return sfr
|
|
68
69
|
|
|
69
70
|
kern_with_tobs_loop = _get_kern_with_tobs_loop(_kern, tobs_loop)
|
|
@@ -167,7 +168,9 @@ def get_ms_sfh_from_mah_kern(
|
|
|
167
168
|
t_min = jnp.max(jnp.array((tacc_integration_min, t_form - tau_dep)))
|
|
168
169
|
t_table = t_min + uniform_table * (t_form - t_min)
|
|
169
170
|
args = t_form, mah_params, ms_params, lgt0, fb, t_table
|
|
170
|
-
|
|
171
|
+
sfr = _lax_ms_sfh_scalar_kern(*args)
|
|
172
|
+
sfr = lax.cond(sfr < SFR_MIN, lambda x: SFR_MIN, lambda x: x, sfr)
|
|
173
|
+
return sfr
|
|
171
174
|
|
|
172
175
|
kern_with_tobs_loop = _get_ms_kern_with_tobs_loop(_kern, tobs_loop)
|
|
173
176
|
lax_ms_sfh_from_mah_kern = _get_ms_kern_with_galpop_loop(
|
|
@@ -172,3 +172,27 @@ def test_fb_value_propagates_to_sfh_galpop():
|
|
|
172
172
|
x = 2.0
|
|
173
173
|
sfh2 = sfh_galpop(tarr, mah_params, ms_params, q_params, LGT0, FB * x)
|
|
174
174
|
assert np.allclose(sfh2, x * sfh)
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
def test_sfh_galpop_is_always_strictly_positive():
|
|
178
|
+
n_gals, n_t = 1_000, 100
|
|
179
|
+
lgt0, mah_params, __, __ = _get_all_default_params()
|
|
180
|
+
tarr = np.linspace(0.1, 10**lgt0, n_t)
|
|
181
|
+
|
|
182
|
+
mah_params_singlegal = np.array((12.0, 0.0, 3.0, 2.0))
|
|
183
|
+
mah_params_galpop = np.tile(mah_params_singlegal, n_gals).reshape((n_gals, 4))
|
|
184
|
+
u_ms_params_galpop = np.random.uniform(-100, 100, size=(n_gals, 5))
|
|
185
|
+
u_q_params_galpop = np.random.uniform(-100, 100, size=(n_gals, 4))
|
|
186
|
+
|
|
187
|
+
sfh = sfh_galpop(
|
|
188
|
+
tarr,
|
|
189
|
+
mah_params_galpop,
|
|
190
|
+
u_ms_params_galpop,
|
|
191
|
+
u_q_params_galpop,
|
|
192
|
+
LGT0,
|
|
193
|
+
FB,
|
|
194
|
+
ms_param_type="unbounded",
|
|
195
|
+
q_param_type="unbounded",
|
|
196
|
+
)
|
|
197
|
+
assert np.all(np.isfinite(sfh))
|
|
198
|
+
assert np.all(sfh >= SFR_MIN)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: diffstar
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: Differentiable Star Formation Histories
|
|
5
5
|
Author-email: Alex Alarcon <alexalarcongonzalez@gmail.com>
|
|
6
6
|
License: BSD 3-Clause License
|
|
@@ -47,7 +47,7 @@ Requires-Dist: h5py
|
|
|
47
47
|
## Installation
|
|
48
48
|
The latest release of diffstar is available for installation with either pip or conda-forge:
|
|
49
49
|
```
|
|
50
|
-
$ conda install diffstar
|
|
50
|
+
$ conda install -c conda-forge diffstar
|
|
51
51
|
```
|
|
52
52
|
|
|
53
53
|
Alternatively, to install diffstar into your environment from the source code:
|
|
@@ -58,10 +58,10 @@ $ pip install .
|
|
|
58
58
|
```
|
|
59
59
|
|
|
60
60
|
### Environment configuration
|
|
61
|
-
For a typical development environment
|
|
61
|
+
For a typical development environment with conda-forge:
|
|
62
62
|
|
|
63
63
|
```
|
|
64
|
-
$ conda create -n diffit python=3.9 numpy numba flake8 pytest jax ipython jupyter matplotlib scipy h5py diffmah diffstar
|
|
64
|
+
$ conda create -c conda-forge -n diffit python=3.9 numpy numba flake8 pytest jax ipython jupyter matplotlib scipy h5py diffmah diffstar
|
|
65
65
|
```
|
|
66
66
|
|
|
67
67
|
## Project data
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = '0.2.0'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{diffstar-0.2.0 → diffstar-0.2.2}/diffstar/fitting_helpers/tests/test_fitting_kernels_are_frozen.py
RENAMED
|
File without changes
|
{diffstar-0.2.0 → diffstar-0.2.2}/diffstar/fitting_helpers/tests/test_fitting_smah_helpers.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{diffstar-0.2.0 → diffstar-0.2.2}/diffstar/kernels/tests/testing_data/mah_params_testing_v0.1.0.txt
RENAMED
|
File without changes
|
{diffstar-0.2.0 → diffstar-0.2.2}/diffstar/kernels/tests/testing_data/ms_params_testing_v0.1.0.txt
RENAMED
|
File without changes
|
{diffstar-0.2.0 → diffstar-0.2.2}/diffstar/kernels/tests/testing_data/q_params_testing_v0.1.0.txt
RENAMED
|
File without changes
|
{diffstar-0.2.0 → diffstar-0.2.2}/diffstar/kernels/tests/testing_data/sfh_table_testing_v0.1.0.txt
RENAMED
|
File without changes
|
{diffstar-0.2.0 → diffstar-0.2.2}/diffstar/kernels/tests/testing_data/t_table_testing_v0.1.0.txt
RENAMED
|
File without changes
|
{diffstar-0.2.0 → diffstar-0.2.2}/diffstar/kernels/tests/testing_data/u_ms_params_testing_v0.1.0.txt
RENAMED
|
File without changes
|
{diffstar-0.2.0 → diffstar-0.2.2}/diffstar/kernels/tests/testing_data/u_q_params_testing_v0.1.0.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{diffstar-0.2.0 → diffstar-0.2.2}/diffstar/tests/testing_data/default_params_test_diffmah_params.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{diffstar-0.2.0 → diffstar-0.2.2}/diffstar/tests/testing_data/default_params_test_log_mah.txt
RENAMED
|
File without changes
|
|
File without changes
|
{diffstar-0.2.0 → diffstar-0.2.2}/diffstar/tests/testing_data/default_params_test_u_ms_params.txt
RENAMED
|
File without changes
|
{diffstar-0.2.0 → diffstar-0.2.2}/diffstar/tests/testing_data/default_params_test_u_q_params.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|