Skip to content

Commit

Permalink
removed path, still need to re-sync with main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
ymamay committed Nov 27, 2024
1 parent c3d8a21 commit bb857fb
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions python/lvmdrp/functions/sky_qa.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@
from astropy.table import Table
import matplotlib.backends.backend_pdf

#Things that should not change and dir

# Define directory paths (for local version, not DRP)
LVMDATA_DIR="/Users/amjones/repos/lvm_ksl/2024Oct15_v1.1.0/"

# Measure line fluxes by direct integration of the spectra and add to table
maplist=['[OI]5577', '[OI]6300', '[OH]6865', 'Bcont(4195, 4220)', 'Rcont(6420, 6440)', 'Zcont(9130, 9145)']
Expand Down Expand Up @@ -266,7 +262,7 @@ def run_qa_local():
#mjdlist = [60222, 11111, 60222, 11111]
for i in range(len(expnumlist)):
outfile=f'refdata_v1.1.0/skyQA_{expnumlist[i]}'
rssfile=LVMDATA_DIR+f'lvmSFrame-{expnumlist[i]:0>8}.fits'
rssfile=f'lvmSFrame-{expnumlist[i]:0>8}.fits' #now only reads in SFrames that are in current dir
wave, flux, sky, ivar, mask, slitmap, header = read_rssfile(rssfile)

data_sci, data_skye, data_skyw, wave, med_sky, med_flux, med_ivar, med_skye, med_skyw, stats_list, wvl_list, wvc_list, sky_info = create_sky_table(wave, flux, sky, ivar, mask, slitmap, header, maplist, medlist, lrangelist, crangelist, outfile)
Expand Down

0 comments on commit bb857fb

Please sign in to comment.