cconroy20 / fsps

Flexible Stellar Population Synthesis
MIT License
85 stars 48 forks source link

only interpolate redshifted spectrum if computing magnitudes. #41

Closed bd-j closed 4 years ago

bd-j commented 4 years ago

This PR changes getmags to skip most computation -- especially the potentially time consuming redshifting and interpolation of the spectrum -- if explicitly asked to not compute any magnitudes via the mag_compute array.