Skip to content

Implement cue+prospectorv2#372

Open
yi-jia-li wants to merge 154 commits intobd-j:add_cuefrom
yi-jia-li:add_cue
Open

Implement cue+prospectorv2#372
yi-jia-li wants to merge 154 commits intobd-j:add_cuefrom
yi-jia-li:add_cue

Conversation

@yi-jia-li
Copy link
Copy Markdown
Collaborator

This implements the integration of cuejax with Prospector v2.

  • Adds SPS classes in nebssp_basis.py to use Cue-predicted nebular continua and emission lines.
  • Provides two new parameter sets via TemplateLibrary:
    • cue_stellar_nebular: fixes ionizing sources to stellar populations
    • cue_nebular: fits ionizing spectra with 4-piece-wise power-law
  • Dust attenuation and IGM absorption are applied in fake_fsps.py

wangbingjie and others added 30 commits June 7, 2023 15:21
…x small numerical errors in the CDFs; update doc
changing the parametric_pset() function call to remove a typo in argument
fixing suspected typo in sfh.py
Avoid RuntimeWarning when smoothing with 0 km/s
update citation info, AGNSpecModel line indices
…numerical issues with large logsfr_ratio jumps that were causing the returned SFHs to contain nans
set the values in np.clip() from [-100,100] to [-10,10] to help with …
Also add logic for caching emission line variances from MLE.
  Offloads likelihood computations to NoiseModel objects that are
  attached to individual Observation instances.  Also updates lnprobfn
  to handle lists of observations, and adds some docstrings and
  rough tests.

fitting ubdates for observation lists; dosctring modernization.
Numerous tweaks to observation generation from old style dicts;
Changes to test_eline for new predict() api.
bd-j and others added 29 commits August 28, 2024 16:44
  Add a unified nested sampling method for multiple samplers,
  including interface to input arguments and output files.
  Remove old dynesty iterator based interface, and many sampling options.
…d written out; update docs; add sampler test script.
Update nested sampler integration
only compute lya damping above zmin.
return model=None if dangerous=False
Nikhil0504 added a commit to galactic-ai/prospector that referenced this pull request May 7, 2026
* pr372:
  add a demo
  fix bugs in SSP classes
  switch to fast cuejax prediction
  implement dust emission
  use cuejax to predict nebular emission
  updata cue model for v2
  merge add_cue branch with main
  New sps basis that generates spectra with emission lines from cue.
  port dust and IGM attenuation functions from FSPS
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.

9 participants