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_funcdirectory.Define a new function in
filters.pythat reads a unique filter string the user assigns to the new filters, and then read the appropriate data files from the newfilt_funcsub-directory.Edit the
get_filter_info()function insynthetic.pyto call the new function infilters.pywhen the new filter string is called.Edit the
get_obs_str()function insynthetic.pyto convert between column name and filter string (e.g input string for get_filter_info) for the new filters.Add the filter to the
filt_listin thetest_filters()function intests/test_models.pyto ensure the filter can be loaded properly.
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.