diff --git a/pypeit/par/pypeitpar.py b/pypeit/par/pypeitpar.py index 1f0338381e..d97552619b 100644 --- a/pypeit/par/pypeitpar.py +++ b/pypeit/par/pypeitpar.py @@ -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.' diff --git a/pypeit/scripts/view_fits.py b/pypeit/scripts/view_fits.py index 749c7f2696..a98d12f273 100644 --- a/pypeit/scripts/view_fits.py +++ b/pypeit/scripts/view_fits.py @@ -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.') @@ -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') @@ -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