Skip to content

Commit

Permalink
Re-fix MOS background slit location
Browse files Browse the repository at this point in the history
  • Loading branch information
melanieclarke committed May 16, 2024
1 parent b1643c3 commit 8dce641
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jwst/assign_wcs/nirspec.py
Original file line number Diff line number Diff line change
Expand Up @@ -725,8 +725,8 @@ def get_open_msa_slits(msa_file, msa_metadata_id, dither_position,
quadrant = slitlets_sid[0]['shutter_quadrant']
ycen = j
xcen = slitlets_sid[0]['shutter_row'] # grab the first as they are all the same
source_xpos = 0.0
source_ypos = 0.0
source_xpos = 0.5
source_ypos = 0.5
source_id = _get_bkg_source_id(bkg_counter, max_source_id)
log.info(f'Slitlet_id {slitlet_id} is background only; assigned source_id = {source_id}')
bkg_counter += 1
Expand Down

0 comments on commit 8dce641

Please sign in to comment.