Closed ojwg closed 5 years ago
After playing around with this I realized the name only shows up for a band if you name it before registering it. If the name is only specified during registration sncosmo appears to ignore it.
The csp
module was originally borrowed from some code that was still under development. However, that code has since been formalized and published to pip
. Instead of mantaining two versions of the same code, I suggest we just use the published version. The interface is basically the same, with minor differences in one or two function names. Full documentation is available here.
Addressed by PR #2
In the following code:
I need to map the band names, for example:
data_formatted['band'][np.where(data_formatted['band'] == '91bg_proj_csp_u')] = 'cspu'
else the plots will have band names like
<Bandpass at 0x183ea94c88>