Skip to content

Commit

Permalink
add Roman pre-flight filters.
Browse files Browse the repository at this point in the history
  • Loading branch information
bd-j committed Nov 2, 2024
1 parent 54b1dd6 commit e8506b9
Show file tree
Hide file tree
Showing 10 changed files with 17,803 additions and 0 deletions.
13 changes: 13 additions & 0 deletions sedpy/data/filters/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,19 @@ each module.
|$w2$|UVOT|[`uvot_w2`](filters/uvot_w2.par)|201.0 nm|67.2 nm||
|$m2$|UVOT|[`uvot_m2`](filters/uvot_m2.par)|223.0 nm|45.9 nm||

### Roman

|Filter|Instrument|`sedpy` Name|$\lambda_\textrm{eff}$|$\Delta\lambda_\textrm{eff}$|Comments|
|:----:|:--------:|:----------:|---------------------:|---------------------------:|:-------|
|$\textrm{F062}$|WFI|[`roman_wfi_f062`](filters/roman_wfi_f062.par)|617.8 nm|184.2 nm|03/24: Average of normalized SCA curves|
|$\textrm{F087}$|WFI|[`roman_wfi_f087`](filters/roman_wfi_f087.par)|867.1 nm|149.9 nm|03/24: Average of normalized SCA curves|
|$\textrm{F106}$|WFI|[`roman_wfi_f106`](filters/roman_wfi_f106.par)|1056.3 nm|179.4 nm|03/24: Average of normalized SCA curves|
|$\textrm{F129}$|WFI|[`roman_wfi_f129`](filters/roman_wfi_f129.par)|1277.2 nm|220.6 nm|03/24: Average of normalized SCA curves|
|$\textrm{F146}$|WFI|[`roman_wfi_f146`](filters/roman_wfi_f146.par)|1365.3 nm|719.9 nm|03/24: Average of normalized SCA curves|
|$\textrm{F158}$|WFI|[`roman_wfi_f158`](filters/roman_wfi_f158.par)|1571.6 nm|270.8 nm|03/24: Average of normalized SCA curves|
|$\textrm{F184}$|WFI|[`roman_wfi_f184`](filters/roman_wfi_f184.par)|1833.7 nm|218.2 nm|03/24: Average of normalized SCA curves|
|$\textrm{F213}$|WFI|[`roman_wfi_f213`](filters/roman_wfi_f213.par)|2126.4 nm|237.1 nm|03/24: Average of normalized SCA curves|

## Ground-Based Telescopes

### Two Micron All-Sky Survey (2MASS) Telescope
Expand Down
22 changes: 22 additions & 0 deletions sedpy/data/filters/make_entry.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import glob, os
import numpy as np
from sedpy.observate import Filter, load_filters

dirn = "./prep_filters/Roman"
files = glob.glob(f"{dirn}/*roman*par")
bases = [os.path.basename(f) for f in files]
names = [b.replace(".par", "") for b in bases]

filters = load_filters(names, directory=dirn)
order = np.argsort([f.wave_effective for f in filters])
filters = filters[order]

comment = "03/24: Average of normalized SCA curves"

for f in filters:
name = f.name
tel, inst, band = name.split("_")
weff, width = f.wave_effective, f.effective_width
weff, width, unit = weff/10, width/10, "nm"
row = f"|$\\textrm{{{band.upper()}}}$|{inst.upper()}|[`{name}`](filters/{name}.par)|{weff:.1f} {unit}|{width:.1f} {unit}|{comment}|"
print(row)
2,221 changes: 2,221 additions & 0 deletions sedpy/data/filters/roman_wfi_f062.par

Large diffs are not rendered by default.

2,221 changes: 2,221 additions & 0 deletions sedpy/data/filters/roman_wfi_f087.par

Large diffs are not rendered by default.

2,221 changes: 2,221 additions & 0 deletions sedpy/data/filters/roman_wfi_f106.par

Large diffs are not rendered by default.

2,221 changes: 2,221 additions & 0 deletions sedpy/data/filters/roman_wfi_f129.par

Large diffs are not rendered by default.

2,221 changes: 2,221 additions & 0 deletions sedpy/data/filters/roman_wfi_f146.par

Large diffs are not rendered by default.

2,221 changes: 2,221 additions & 0 deletions sedpy/data/filters/roman_wfi_f158.par

Large diffs are not rendered by default.

2,221 changes: 2,221 additions & 0 deletions sedpy/data/filters/roman_wfi_f184.par

Large diffs are not rendered by default.

2,221 changes: 2,221 additions & 0 deletions sedpy/data/filters/roman_wfi_f213.par

Large diffs are not rendered by default.

0 comments on commit e8506b9

Please sign in to comment.