File tree Expand file tree Collapse file tree
pyreduce/instruments/CRIRES_PLUS Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ """
2+ CRIRES+ L-band example
3+ Runs trace, flat, and norm_flat on L3340 flat-field frames.
4+ """
5+
6+ import os
7+
8+ from pyreduce import datasets
9+ from pyreduce .pipeline import Pipeline
10+
11+ instrument = "CRIRES_PLUS"
12+ target = ""
13+ night = ""
14+ channel = "L3340_det1"
15+ steps = (
16+ "flat" ,
17+ "trace" ,
18+ "norm_flat" ,
19+ )
20+
21+ base_dir = os .path .join (datasets .get_data_dir (), "CRIRES_LM" )
22+ input_dir = ""
23+ output_dir = "reduced"
24+
25+ pipe = Pipeline .from_instrument (
26+ instrument ,
27+ target ,
28+ night = night ,
29+ channel = channel ,
30+ steps = steps ,
31+ base_dir = base_dir ,
32+ input_dir = input_dir ,
33+ output_dir = output_dir ,
34+ plot = 1 ,
35+ )
36+ pipe ._data ["bias" ] = None
37+ pipe ._data ["mask" ] = None
38+ pipe ._data ["scatter" ] = None
39+ pipe .run ()
Original file line number Diff line number Diff line change 11{
22 "__inherits__" : " CRIRES_PLUS/settings.json" ,
33 "trace" : {
4- "min_cluster" : 5000
4+ "min_cluster" : 5000 ,
5+ "filter_y" : 400
56 }
67}
You can’t perform that action at this time.
0 commit comments