Skip to content

Commit

Permalink
GOTO bandpasses (#374)
Browse files Browse the repository at this point in the history
* Add GOTO as a builtin bandpasses
  • Loading branch information
mcoughlin committed Jun 26, 2023
1 parent c165134 commit 307bb6b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions sncosmo/builtins.py
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,20 @@ def tophat_bandpass_um(ctr, width, name=None):
args=(relpath,), meta=tess_meta)


# GOTO
goto_meta = {
'filterset': 'goto',
'retrieved': '16 June 2023',
'dataurl': ('http://svo2.cab.inta-csic.es/svo/theory/fps/getdata.php?'
'format=ascii&id=Misc'),
'description': ('GOTO filters from SVO (includes filter, optics,'
'detector and atmosphere.)')}
for filt in ['B', 'G', 'L', 'R']:
name = 'goto' + filt[0].lower()
relpath = 'bandpasses/goto/goto.{}'.format(filt)
_BANDPASSES.register_loader(name, load_bandpass_remote_aa,
args=(relpath,), meta=goto_meta)

# =============================================================================
# interpolators

Expand Down

0 comments on commit 307bb6b

Please sign in to comment.