Skip to content

Updates for alpha-MC in FSPS - #393

Merged
bd-j merged 13 commits into
dfm:mainfrom
bd-j:alpha-mc
Aug 2, 2026
Merged

Updates for alpha-MC in FSPS#393
bd-j merged 13 commits into
dfm:mainfrom
bd-j:alpha-mc

Conversation

@bd-j

@bd-j bd-j commented Jul 31, 2026

Copy link
Copy Markdown
Collaborator

This updates python-FSPS to work with FSPS v4.0, which had substantial internal source code and data file changes. Most of the existing driver routines have been tested to run at a basic level across multiple FSPS library combinations, including with alpha-enhancement. However, several methods are removed or disabled at present. These include:

  • _compute_csp() is now restricted to zcontinuous <= 1; larger values require more testing.
  • interp_ssp is disabled (though the underlying ztinterp fortran function works and is used elsewhere)
  • _all_ssp_spec is disabled.

After this is merged it will probably be good to bump the version number, e.g. to v0.5.0, and make a new release.

@bd-j

bd-j commented Aug 2, 2026

Copy link
Copy Markdown
Collaborator Author

Whoops, forgot to run the tests. A couple had to be skipped because the functionality is disabled for the alpha-enhanced models. I think this functionality is not often used, one is a private function. The LSF test now uses a much wider smoothing kernel given the low resolution of the new default spectral library.

Also, the BaSeL isochrones were removed and the default libraries changed, so the options test was changed accordingly.

@bd-j

bd-j commented Aug 2, 2026

Copy link
Copy Markdown
Collaborator Author

ok, was able to fix _all_ssp_spec and re-enable the test that depends on it.

@bd-j
bd-j merged commit c18b870 into dfm:main Aug 2, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant