Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
146 commits
Select commit Hold shift + click to select a range
7139c2c
Merge pull request #147 from astropy/dev
mwhosek Mar 20, 2026
fb3cdc2
update doc string
Mar 20, 2026
a7fc057
Adding new tests and verified that the photometry tests compare well …
jluastro May 5, 2026
968b0c3
All tests passing.
jluastro May 5, 2026
7ddcbcd
Add grid spectrum timing test for stsynphot/pysynphot k93models.
jluastro May 5, 2026
0cb96a5
allow mag sys conversion for IsochronePhot object
hustonm Jul 6, 2026
122c51c
clarify MAGSYS in metadata and docstring
hustonm Jul 6, 2026
22d3271
clarify MAGSYS in metadata and docstring
hustonm Jul 6, 2026
ff936df
Merge branch 'dev' of https://github.com/astropy/SPISEA into iso_mag_sys
hustonm Jul 13, 2026
94e439c
mag_sys updates in COSMIC additions
hustonm Jul 14, 2026
2656cf4
update docs for mag sys
hustonm Jul 14, 2026
f0ac7bf
only keep requested filters in external evol isochrone
hustonm Jul 14, 2026
3763be9
Merge branch 'iso_mag_sys' of https://github.com/astropy/SPISEA into …
hustonm Jul 14, 2026
1ab4774
updated contribution:
hustonm Jul 14, 2026
5690e20
change MISTv1 synthpop_extension default to True
hustonm Jul 14, 2026
f35d519
Merge pull request #157 from astropy/iso_mag_sys
jluastro Jul 16, 2026
d33ce22
merging in everything from dev
jluastro Jul 17, 2026
a689650
updating to v2.5
Jul 17, 2026
ba03bd5
updating changelog
Jul 17, 2026
58dad8e
Update index.rst
mwhosek Jul 18, 2026
4a5c4bb
Update index.rst
mwhosek Jul 18, 2026
d3de62b
changing installation page heading structure
Jul 18, 2026
bb5ff3a
Merge pull request #158 from astropy/dev
mwhosek Jul 18, 2026
0b823ae
doc updates
Jul 18, 2026
a0bbc52
sphinx yaml stuff
Jul 18, 2026
8799070
adding setuptools for sphinx autodoc
Jul 18, 2026
f70d715
moving python version to 3.10, looks like setuptools fails post 3.11
Jul 18, 2026
a6ac8be
Everything converted to synphot and pulled in latest dev branch changes.
jluastro Jul 18, 2026
428252b
Fixing minor formatting in test_atmospheres.py
jluastro Jul 18, 2026
c430ca1
looks like we need older setuptools
Jul 18, 2026
ccbe477
oops, need setup tools <= 81
Jul 18, 2026
cf67f1e
now fixing numpy - pysynphot compatibility issues
Jul 18, 2026
da36f10
Moved SPISEA over to MovingUniverseLab and changed all links.
jluastro Jul 18, 2026
05904cb
Merge main into dev
jluastro Jul 18, 2026
e85b4a5
Merge branch 'dev' into synphot_update
jluastro Jul 18, 2026
c674fb9
Finish repository URL migration
jluastro Jul 18, 2026
028057d
all singles multiplicity class
nsabrams Jul 21, 2026
d552a73
Add opt-in Offner et al. 2023 piecewise multiplicity model
cursoragent Aug 13, 2026
b5c7a5a
Wire Offner BD q and companion counts through the Multiplicity API
cursoragent Aug 13, 2026
7b4ab35
Use a continuous 3-segment Offner MF/CSF and add comparison figure
cursoragent Aug 13, 2026
bfb5813
Replace Offner 3-segment MF/CSF with a logistic in log-mass
cursoragent Aug 13, 2026
245df54
Add Offner vs Lu+2013 q and separation comparison figures
cursoragent Aug 13, 2026
8ba5a50
Add Offner vs Lu+2013 sigma(log a) comparison figure
cursoragent Aug 13, 2026
864ef1b
Use smooth fitted functions for Offner gamma, mu(a), and sigma(log a)
cursoragent Aug 14, 2026
3da12cd
Document Offner 2023 multiplicity models and comparison figures
cursoragent Aug 14, 2026
7169fff
Label Offner comparison baseline as SPISEA v2.5, not Lu+2013
cursoragent Aug 14, 2026
b98efcf
Rename Offner comparison figures from lu2013 to spisea2.5
cursoragent Aug 14, 2026
13d722f
Revise multiplicity documentation and clarify usage
jluastro Aug 14, 2026
8a64f90
Document new multiplicity methods in numpydoc with units
cursoragent Aug 14, 2026
23a459e
Move multiplicity model helpers to the bottom of the file
cursoragent Aug 14, 2026
48eafdc
Code cleanup (spacing, etc.).
jluastro Aug 14, 2026
af8eb8e
Drop massless-primary (M<=0) support in multiplicity helpers
cursoragent Aug 14, 2026
a66554b
Reviewed code, cleaned up formatting, added more documentation.
jluastro Aug 14, 2026
1de725a
Cleaning up based on Macy's comments on pull request.
jluastro Aug 18, 2026
bc036a2
Cleaning code for pull request comments.
jluastro Aug 18, 2026
ac7acf7
Reverted to older broken powerlaw naming convention in print statement.
jluastro Aug 18, 2026
855cbb4
Merge pull request #159 from MovingUniverseLab/synphot_update
jluastro Aug 18, 2026
abfbd24
Plot SPISEA v2.5 MF curves from MultiplicityUnresolved
cursoragent Aug 19, 2026
c70d5f8
Add per-PNG Offner vs SPISEA v2.5 plot scripts and DK a_mean API
cursoragent Aug 19, 2026
2209d83
Remove MultiplicityOffner2023 alias
cursoragent Aug 19, 2026
4a5603a
Move multiplicity narrative from rst into class docstrings
cursoragent Aug 19, 2026
bc8d7e7
Restore figure-reproduce commands on the thin multiplicity page
cursoragent Aug 19, 2026
ee55e2e
Remove unused Offner knot storage and _two_point_powerlaw
cursoragent Aug 19, 2026
b75878a
Move Offner and Fontanive coefficients onto __init__ defaults
cursoragent Aug 19, 2026
eab72fb
Allow triples at all masses; duplicate Offner inits; add CSF plot
cursoragent Aug 19, 2026
4df7f33
Pass cluster RNG into orbital draws
cursoragent Aug 19, 2026
27909fe
Add same-seed RNG tests for companion and orbital draws
cursoragent Aug 19, 2026
51abeb3
tmp, this is old.
jluastro Aug 20, 2026
f8cecdd
Merge branch 'cursor/offner-2023-multiplicity-ad2c' of github.com:Mov…
jluastro Aug 20, 2026
df23db6
Added 'if verbose' check to two print statements in 'IsochronePhot.__…
Aug 22, 2026
732575a
Deprecate random_q and add draw_q
cursoragent Aug 27, 2026
52c5759
Reject random_q on Offner; drop Offner q_power kwarg
cursoragent Aug 27, 2026
9549198
Move Offner orbital methods onto the Resolved class
cursoragent Aug 27, 2026
5582c60
Require BD companion q sample in Offner cluster test
cursoragent Aug 27, 2026
277a064
Drop source-grep asserts from Offner BD-q test
cursoragent Aug 27, 2026
6bac457
Clarify resolved-orbit comment in synthetic.py
cursoragent Aug 27, 2026
4d4e30c
Older changes.
jluastro Aug 27, 2026
19879d8
Merge branch 'cursor/offner-2023-multiplicity-ad2c' of github.com:Mov…
jluastro Aug 27, 2026
78255c9
Responding to all comemnts. Ready to merge.
jluastro Sep 3, 2026
0c35610
Merge pull request #161 from StellarRemnants/dev-isophot-print-fix
mwhosek Sep 8, 2026
a4bf7cd
Merge pull request #160 from MovingUniverseLab/cursor/offner-2023-mul…
jluastro Sep 9, 2026
b25416f
debug synphot BlackBody1D -> BlackBodyNorm1D
hustonm Sep 23, 2026
fa306bd
jwst filter case insensitivity
hustonm Sep 24, 2026
2b240e0
OGLE filters in w/ QE
hustonm Oct 2, 2026
4c6032e
make negative transmissions 0 before sending to synphot just to reduc…
hustonm Oct 2, 2026
7b96dc6
fix filter bugs for lambda scaling
hustonm Oct 2, 2026
c79b1a1
clean up photon flux integration + improve magnitude sum precision
hustonm Oct 5, 2026
7fb3f9c
new OGLE filters
hustonm Oct 5, 2026
0445f63
debug some reddening updates + improve efficiency and floating point …
hustonm Oct 5, 2026
200d80e
debug ab/st mag conversions with new integration method
hustonm Oct 5, 2026
f5771b5
Update DECam filters to include full instrument+atmosphere transmission
hustonm Oct 5, 2026
e54dd7b
Update JWST NIRCam filters to v7.0 (Jan 2025)
hustonm Oct 7, 2026
279e303
debug synphot unit issues
hustonm Oct 8, 2026
e721058
debugging after synphot filter profile scaling clarification
hustonm Oct 12, 2026
831093f
Put in our own combined OGLE transmissions, since the SVO documentati…
hustonm Oct 12, 2026
3d4248d
Merge pull request #162 from MovingUniverseLab/synphot_update
jluastro Oct 15, 2026
353b456
Merge pull request #167 from MovingUniverseLab/dev_mjh
jluastro Oct 15, 2026
1da9005
Wrapped all print statements with 'if verbose' check, added 'verbose=…
Oct 15, 2026
613d5a8
Set all new 'verbose=False' arguments in function definitions to 'ver…
Oct 15, 2026
409df79
Add Flame Skimmer atmospheres and merged evolution grid
Oct 15, 2026
6cd5762
Update resolved-multiplicity test to allow BD triples.
cursoragent Oct 16, 2026
e39f4a8
Address Flame Skimmer and merged MIST model review feedback
Oct 16, 2026
1cd42b9
Merge branch 'cursor/bd-multiplicity-test-12e4' into dev
jluastro Oct 20, 2026
1c8a881
Regenerate ResolvedCluster reference data and mark slow tests
jluastro Oct 20, 2026
7b3f51e
Removed unrelated '# Unused' comments
Oct 20, 2026
d4a9aba
Wrapped metallicity bounds check printing in 'verbose' check and reve…
Oct 20, 2026
a141153
Converted zero flux check print statements to warnings
Oct 20, 2026
2709fd9
Removed unrelated 'Redefinition of get_cmfgenNoRot_atmosphere and ge…
Oct 20, 2026
a93c75a
Removed extraneous 'verbose' check
Oct 20, 2026
ac07e93
Cleaning up some of the verbose flag issues that still remained and e…
jluastro Oct 21, 2026
1ad6d6d
Small bug fix.
jluastro Oct 21, 2026
35416c8
Merge pr168-new: atmosphere print/verbose cleanup (PR #168)
jluastro Oct 21, 2026
db58556
Disable nightly workflow until model grids are available on a runner
jluastro Oct 22, 2026
4fe6c97
Fix CI: defer PYSYN_CDBS lookup to call time in rebin_BTSettl_2015 an…
jluastro Oct 22, 2026
be82e3e
Add pandas to dependencies (imported by evolution.py and merge_models…
jluastro Oct 22, 2026
ac3e176
Remove interactive recompute prompt from IsochronePhot; use recomp=Tr…
jluastro Oct 23, 2026
3169985
Remove trailing whitespace in synthetic.py (from PR #163)
jluastro Oct 23, 2026
06e97ee
Add cdbs_path to rebin_BTSettl and rebin_Meisner2023
jluastro Oct 23, 2026
35e925b
Add PYSYN_CDBS fallback to rebin_BTSettl_2015
jluastro Oct 23, 2026
1468e48
Make cdbs_path optional in rebin_phoenixV16 (defaults to PYSYN_CDBS)
jluastro Oct 23, 2026
bf62748
Make cdbs_path optional in rebin_cmfgen (defaults to PYSYN_CDBS)
jluastro Oct 23, 2026
49898a4
Merge rebin-cdbs-path: optional cdbs_path (default PYSYN_CDBS) for al…
jluastro Oct 23, 2026
57a907e
Simplify Sonora loaders and reuse shared model tests
Oct 23, 2026
a9a5374
Test Sonora isochrone photometry and resolved clusters
Oct 29, 2026
913f6ec
Extend Koester white-dwarf spectra into the mid-infrared so filters p…
jluastro Oct 30, 2026
ec166a8
Added some installation documentation for synphot/stsynphot.
jluastro Oct 30, 2026
ace117f
Simplify atmosphere bounds and compare Sonora and MIST clusters
Nov 2, 2026
d2c579d
Clarify Sonora documentation and unify isochrone layout
Nov 3, 2026
1240b60
Load Sonora grid without manifest and require grid 3.1
Nov 4, 2026
2322ab7
Merge dev into sonora_mist_merger
Nov 4, 2026
b03e7a1
start joss paper draft
hustonm Nov 5, 2026
fbb8648
New PyData docs theme. Trying it out.
jluastro Nov 7, 2026
9d8033d
Build the docs on Python 3.11 so Read the Docs can install the theme.
jluastro Nov 10, 2026
1d63d5b
Allow NumPy 2 in the docs build so stsynphot can install.
jluastro Nov 10, 2026
b6f6f7a
new version release prep
hustonm Nov 10, 2026
01d4dfb
remove deprecated iso_table; record and check version number
hustonm Nov 10, 2026
66aafcc
update mace contribution
hustonm Nov 10, 2026
43041d5
start Change Log notes for v 3.1
hustonm Nov 10, 2026
cd45183
Update packages to comply with new requirements in synphot and stsynp…
jluastro Nov 11, 2026
b1d3abf
Merge branch 'dev' of github.com:MovingUniverseLab/SPISEA into dev
jluastro Nov 11, 2026
3315215
Merge pull request #176 from MovingUniverseLab/sonora_mist_merger
mwhosek Nov 12, 2026
ec639ea
deleted my temp change to resolve merge conflict
nsabrams Nov 13, 2026
364f3eb
deleted leftover merge conflict line
nsabrams Nov 13, 2026
dd62b34
bug fix and first pass at no higher order specification when using co…
nsabrams Nov 13, 2026
fe8eb63
update to cosmic version 4.3.3 BSEDict
nsabrams Nov 13, 2026
248f0eb
fixed flux0 issue and made guard rails for cosmic multiplicity
nsabrams Nov 13, 2026
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
12 changes: 12 additions & 0 deletions .cursor/rules/spisea-synphot-conda.mdc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
description: Use the spisea-synphot conda environment for all Python, pip, and tests
alwaysApply: true
---

# Conda environment: `spisea-synphot`

For this repository, use the **`spisea-synphot`** conda environment for every shell command that needs Python, `pip`, `pytest`, or project tooling.

- Prefer: `conda run -n spisea-synphot <command>` (e.g. `conda run -n spisea-synphot python -m pytest ...`) so the correct interpreter is used even in non-interactive shells.
- Alternatively: `source "$(conda info --base)/etc/profile.d/conda.sh" && conda activate spisea-synphot` then run commands as usual.
- Do not assume `python` or `pip` on `PATH` without activating that environment; do not use other envs (e.g. a generic `astro` env) for SPISEA work unless the user says otherwise.
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI

on:
pull_request:
push:
branches: [dev, main]

permissions:
contents: read

jobs:
fast:
name: Fast tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: pip

- name: Install SPISEA
run: pip install -e ".[dev]"

- name: Run fast tests
env:
MPLBACKEND: Agg
run: pytest spisea/tests -m "not slow" --tb=short
59 changes: 59 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: Nightly

# DISABLED: GitHub-hosted runners do not have the PYSYN_CDBS and
# SPISEA_MODELS trees (CDBS + evolution/atmosphere grids, ~20 GB) that the
# full suite needs. To re-enable, restore the schedule trigger and the
# "full" job below, and run it on a self-hosted runner that already has
# the grids (or download them before the tests).
#
# Full suite, including @pytest.mark.slow isochrone/cluster tests.

on:
workflow_dispatch:
# schedule:
# - cron: "0 8 * * *"

permissions:
contents: read

jobs:
disabled:
name: Nightly disabled
runs-on: ubuntu-latest
steps:
- run: echo "Nightly full suite is disabled; see .github/workflows/nightly.yml."

# full:
# name: Full tests
# runs-on: ubuntu-latest
# env:
# MPLBACKEND: Agg
# PYSYN_CDBS: ${{ vars.PYSYN_CDBS }}
# SPISEA_MODELS: ${{ vars.SPISEA_MODELS }}
# steps:
# - uses: actions/checkout@v4
#
# - uses: actions/setup-python@v5
# with:
# python-version: "3.11"
# cache: pip
#
# - name: Require model trees
# run: |
# if [ -z "${PYSYN_CDBS}" ] || [ -z "${SPISEA_MODELS}" ]; then
# echo "Set repository variables PYSYN_CDBS and SPISEA_MODELS"
# echo "to the CDBS and SPISEA model directories on the runner."
# exit 1
# fi
# if [ ! -d "${PYSYN_CDBS}" ] || [ ! -d "${SPISEA_MODELS}" ]; then
# echo "Model directories are missing:"
# echo " PYSYN_CDBS=${PYSYN_CDBS}"
# echo " SPISEA_MODELS=${SPISEA_MODELS}"
# exit 1
# fi
#
# - name: Install SPISEA
# run: pip install -e ".[dev]"
#
# - name: Run all tests
# run: pytest spisea/tests --tb=short
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# SPISEA-generated isochrones from test functions
isochrones/
spisea/tests/isochrones/

# Local helper scripts (kept on disk, not in the repo)
scripts/

# Compiled files
*.py[co]
*.a
Expand Down
3 changes: 2 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ version: 2
build:
os: ubuntu-22.04
tools:
python: "3.7"
# stsynphot (docs/requirements.txt) requires Python >= 3.11.
python: "3.11"


# Build documentation in the docs/ directory with Sphinx
Expand Down
40 changes: 22 additions & 18 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,24 +1,30 @@
FROM ubuntu:20.04
FROM python:3.14

RUN apt-get update && apt-get upgrade -y && apt-get clean
ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get install -y curl python3 python3-dev python3-distutils python3-pip git wget
RUN apt-get update \
&& apt-get install -y --no-install-recommends git wget \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

RUN pip3 install astropy pysynphot scipy numpy matplotlib
# Version floors match pyproject.toml. stsynphot 1.7.0 is not on PyPI
# yet; this URL is pull request 244. After the 1.7.0 tag, use
# "stsynphot>=1.7". See docs/getting_started.rst.
# NumPy, SciPy, and Astropy floors match that branch.
RUN pip install --no-cache-dir \
"numpy>=2" "scipy>=1.14" matplotlib pandas "astropy>=7" \
"synphot>=1.5" \
"stsynphot @ git+https://github.com/wei-lingfeng/stsynphot_refactor.git@cache-grid-spectra"

RUN ln -s /usr/bin/python3 /usr/bin/python
RUN git clone https://github.com/MovingUniverseLab/spisea.git /SPISEA

RUN export PYTHONPATH=$PYTHONPATH:/SPISEA
ENV PYTHONPATH=/SPISEA

RUN cd / && git clone https://github.com/astropy/SPISEA.git

ENV PYTHONPATH "${PYTHONPATH}:/SPISEA/"

# Add data to cdbs folder
RUN mkdir /cdbs
WORKDIR /cdbs
RUN wget https://archive.stsci.edu/hlsps/reference-atlases/hlsp_reference-atlases_hst_multi_everything_multi_v10_sed.tar
RUN wget https://archive.stsci.edu/hlsps/reference-atlases/hlsp_reference-atlases_hst_multi_star-galaxy-models_multi_v3_synphot2.tar
WORKDIR /cdbs
RUN wget https://archive.stsci.edu/hlsps/reference-atlases/hlsp_reference-atlases_hst_multi_everything_multi_v10_sed.tar
RUN wget https://archive.stsci.edu/hlsps/reference-atlases/hlsp_reference-atlases_hst_multi_star-galaxy-models_multi_v3_synphot2.tar
RUN tar -xvf hlsp_reference-atlases_hst_multi_everything_multi_v10_sed.tar && rm hlsp_reference-atlases_hst_multi_everything_multi_v10_sed.tar
RUN tar -xvf hlsp_reference-atlases_hst_multi_star-galaxy-models_multi_v3_synphot2.tar && rm hlsp_reference-atlases_hst_multi_star-galaxy-models_multi_v3_synphot2.tar

Expand All @@ -32,8 +38,6 @@ WORKDIR /cdbs/models
RUN wget http://astro.berkeley.edu/~jlu/spisea/spisea_models.tar.gz && wget http://astro.berkeley.edu/~jlu/spisea/spisea_cdbs.tar.gz
RUN tar -xvf spisea_cdbs.tar.gz && tar -xvf spisea_models.tar.gz && rm spisea_cdbs.tar.gz && rm spisea_models.tar.gz

ENV PYSYN_CDBS /cdbs/models/cdbs/
ENV SPISEA_MODELS /cdbs/models



# stsynphot reads throughput/model grids from this path (same convention as legacy pysynphot).
ENV PYSYN_CDBS=/cdbs/models/cdbs/
ENV SPISEA_MODELS=/cdbs/models
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ Here is a brief list of things that SPISEA can do:
* make a star cluster at any age with an unusual IMF and unresolved multiplicity
* make a spectrum of a star cluster in integrated light

See [documentation](https://spisea.readthedocs.io/en/latest/) for
See [documentation](https://github.com/MovingUniverseLab/spisea/tree/main/docs) for
details on installing and running SPISEA. We also provide jupyter notebooks with a
[quick-start tutorial](https://github.com/astropy/SPISEA/blob/main/docs/Quick_Start_Make_Cluster.ipynb)
and [additional examples](https://github.com/astropy/SPISEA/tree/main/docs/paper_examples)
[quick-start tutorial](https://github.com/MovingUniverseLab/spisea/blob/main/docs/Quick_Start_Make_Cluster.ipynb)
and [additional examples](https://github.com/MovingUniverseLab/spisea/tree/main/docs/paper_examples)
demonstrating how to use SPISEA.

If you use SPISEA in your research, please cite [Hosek et al. (2020)](https://ui.adsabs.harvard.edu/abs/2020arXiv200606691H/abstract).
Expand All @@ -32,7 +32,7 @@ If you use SPISEA in your research, please cite [Hosek et al. (2020)](https://ui
SPISEA is actively supported and is growing in functionality, and
subsequently has had several updates since its
initial release. See the
[main documentation page](https://spisea.readthedocs.io/en/latest/)
[main documentation page](https://github.com/MovingUniverseLab/spisea/blob/main/docs/index.rst)
for the change log describing the updates in each release.

## Contributions
Expand All @@ -42,7 +42,7 @@ own fork of the repository, make their changes, and then submit a pull
request to the "dev" branch.

All contributions will be acknowledged on the
[contributors page](https://spisea.readthedocs.io/en/dev/contributors.html#contributors) (with permission).
[contributors page](https://github.com/MovingUniverseLab/spisea/blob/main/docs/contributors.rst) (with permission).
Contributors with features used in code releases will be co-authors in future SPISEA software papers.

## License
Expand Down
Loading
Loading