Skip to content

Commit

Permalink
nrtplot -- changed fringe to fmap
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Marsh committed May 24, 2021
1 parent 2c43121 commit ff3d20c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions hipercam/scripts/nrtplot.py
Expand Up @@ -158,7 +158,7 @@ def nrtplot(args=None):
defect : str
Name of defect file, 'none' to ignore.
fringe : str
fmap : str
Name of fringe map (see e.g. `makefringe`), 'none' to ignore.
fpair : str [if fringe is not 'none']
Expand Down Expand Up @@ -391,7 +391,7 @@ def nrtplot(args=None):
cl.register("lowlevel", Cline.GLOBAL, Cline.HIDE)
cl.register("highlevel", Cline.GLOBAL, Cline.HIDE)
cl.register("flat", Cline.GLOBAL, Cline.PROMPT)
cl.register("fringe", Cline.GLOBAL, Cline.PROMPT)
cl.register("fmap", Cline.GLOBAL, Cline.PROMPT)
cl.register("fpair", Cline.GLOBAL, Cline.PROMPT)
cl.register("nhalf", Cline.GLOBAL, Cline.HIDE)
cl.register("rmin", Cline.GLOBAL, Cline.HIDE)
Expand Down Expand Up @@ -548,7 +548,7 @@ def nrtplot(args=None):

# fringe file (if any)
fmap = cl.get_value(
"fringe",
"fmap",
"fringe map ['none' to ignore]",
cline.Fname("fmap", hcam.HCAM),
ignore="none",
Expand All @@ -558,7 +558,7 @@ def nrtplot(args=None):
fmap = hcam.MCCD.read(fmap)
fpair = cl.get_value(
"fpair", "fringe pair file",
cline.Fname("fringe", hcam.FRNG)
cline.Fname("fpair", hcam.FRNG)
)
fpair = fringe.MccdFringePair.read(fpair)

Expand Down

0 comments on commit ff3d20c

Please sign in to comment.