Skip to content
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
1bb2e60
add TS copy section
mpound Jun 17, 2026
6e6a064
simple FITS file spotcheck script for new models
mpound Jun 17, 2026
1b6b480
add arguments
mpound Jun 18, 2026
e942055
Merge branch 'master' into add_smc_models
mpound Jun 18, 2026
1af2b2b
update stuff
mpound Jun 18, 2026
ef4de7c
add smc
mpound Jun 18, 2026
1f06a3d
update
mpound Jul 1, 2026
d405183
update issues resolved
mpound Jul 8, 2026
b9bb3d7
update description
mpound Jul 8, 2026
a814105
Remove OBSGEO header variables that cause fits/wcs to warn. They are …
mpound Jul 8, 2026
256f672
pass kwargs to CCData.read. Rename kwd to kwargs
mpound Jul 8, 2026
77c3f2a
version
mpound Jul 8, 2026
52cfa85
smc notes
mpound Jul 8, 2026
20eb9c0
remove OBSGEO header keywords
mpound Jul 8, 2026
f25f8fc
better view
mpound Jul 21, 2026
29c019d
SMC models added!
mpound Jul 21, 2026
ce53eb6
fix smc tests
mpound Jul 21, 2026
070ef54
Merge branch 'master' into add_smc_models
mpound Jul 21, 2026
fce90ee
update models.tab for CI370
mpound Jul 23, 2026
a8561fe
fix readthedocs building
mpound Jul 27, 2026
276d8da
move old scripts
mpound Jul 28, 2026
b73235d
Add phase-space limits to LineRatioFit.run (issue #236)
mpound Jul 28, 2026
7d9a3e2
Merge branch 'issue-236-limit-phase-space' into add_smc_models
mpound Jul 29, 2026
f658e5f
comment out blabby warning, note stuck pixels
mpound Aug 10, 2026
66cea48
no longer used
mpound Aug 10, 2026
eec2621
change smc
mpound Aug 11, 2026
1312b3e
update
mpound Aug 11, 2026
a67d97d
Merge branch 'release_3_x' into add_smc_models
mpound Aug 25, 2026
d78974a
quick script for CenA headers
mpound Aug 25, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions scripts/fix_cenA_data.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env python
# quick script to fix headers of Lorenzo's CenA FITS files
from astroy.io import fits
from pdrtpy.util import get_testdata

maps = {}
for j in range(1, 9):
key = f"H200S{j}"
file = get_testdata(f"{key}_CenA.fits")
hdulist = fits.open(file)
for h in hdulist:
for c in ["-X", "-Y", "-Z", "DX", "DY", "DZ"]:
h.header.pop(f"OBSGEO{c}", None)
hdulist.verify("fix")
hdulist.writeto(file, overwrite=True, output_verify="fix")
hdulist.close()