This PR has a some updates intended to fix the computation of formed mass for tabular SFHs, and expose the SSP weights from csp_gen in the common module (e.g. for access via python-FSPS). Also some cleanup of parameter checking and unused variables.
Needs some testing, and there might be a cleaner way to expose the ssp weights (e.g. as an output array of csp_gen and compsp)
I've done some testing and I think this works both to expose the SFH weights and to fix the formed mass for tabular SFH. There's still the imf_lower_limit bug to fix, but I think this is ready to merge.
Work in Progress/Do not merge
This PR has a some updates intended to fix the computation of formed mass for tabular SFHs, and expose the SSP weights from csp_gen in the common module (e.g. for access via python-FSPS). Also some cleanup of parameter checking and unused variables.
Needs some testing, and there might be a cleaner way to expose the ssp weights (e.g. as an output array of csp_gen and compsp)