Adding Photometric Filters¶
If the user wants to add new photometric filters to SPISEA, there are 4 main steps:
Save the filter transmissions as text files in a new sub-directory in the top-level
filt_func
directory.Define a new function in
filters.py
that reads a unique filter string the user assigns to the new filters, and then read the appropriate data files from the newfilt_func
sub-directory.Edit the
get_filter_info()
function insynthetic.py
to call the new function infilters.py
when the new filter string is called.
- Edit the
get_obs_str()
function insynthetic.py
toconvert between column name and filter string (e.g input string for get_filter_info) for the new filters.
Additional documentation on this is coming soon. In the meantime, let us know on the Github issue tracker if you’d like to implement new photometric filters.