Skip to content

Commit

Permalink
Merge branch 'develop' into kast_howto
Browse files Browse the repository at this point in the history
  • Loading branch information
kbwestfall authored Aug 4, 2023
2 parents 2e9f2ec + 6fd1ba0 commit 871ea98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion pypeit/par/pypeitpar.py
Original file line number Diff line number Diff line change
Expand Up @@ -3771,7 +3771,7 @@ def __init__(self, trace_npoly=None, snr_thresh=None, find_trim_edge=None,

defaults['find_min_max'] = None
dtypes['find_min_max'] = list
descr['find_min_max'] = 'It defines the minimum and maximum of your object in the spectral direction on the ' \
descr['find_min_max'] = 'It defines the minimum and maximum of your object in pixels in the spectral direction on the ' \
'detector. It only used for object finding. This parameter is helpful if your object only ' \
'has emission lines or at high redshift and the trace only shows in part of the detector.'

Expand Down
7 changes: 1 addition & 6 deletions pypeit/scripts/view_fits.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ def get_parser(cls, width=None):
help='List the extensions only?')
parser.add_argument('--proc', default=False, action='store_true',
help='Process the image (i.e. orient, overscan subtract, multiply by '
'gain) using pypeit.images.buildimage. Note det=mosaic will not '
'work with this option')
'gain) using pypeit.images.buildimage.')
parser.add_argument('--bkg_file', type=str, default=None, help='FITS file to be subtracted from the image in file.'
'--proc must be set in order for this option to work.')

Expand Down Expand Up @@ -66,9 +65,6 @@ def main(args):

if args.proc and args.exten is not None:
msgs.error('You cannot specify --proc and --exten, since --exten shows the raw image')
# if args.proc and args.det == 'mosaic':
# msgs.error('You cannot specify --proc and --det mosaic, since --mosaic can only '
# 'display the raw image mosaic')
if args.exten is not None and args.det == 'mosaic':
msgs.error('You cannot specify --exten and --det mosaic, since --mosaic displays '
'multiple extensions by definition')
Expand Down Expand Up @@ -97,7 +93,6 @@ def main(args):
mosaic = len(_det) > 1
if not mosaic:
_det = _det[0]

if args.proc:
# Use the biasframe processing parameters because processing
# these frames is independent of any other frames (ie., does not
Expand Down

0 comments on commit 871ea98

Please sign in to comment.