-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoms-ddf-cabs.yml
161 lines (150 loc) · 4.05 KB
/
oms-ddf-cabs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
cabs:
ddfacet:
command: DDF.py
backend:
native:
virtual_env: ~/.venv/ddf
policies:
prefix: '--'
# pass True options as ..option True
explicit_true: 1
# pass False options as ..option False
explicit_false: 0
replace:
'.': '-'
inputs:
parset:
dtype: File
required: false
info: "Name of parset to load parameters from (default is to start with global default settings.)"
policies:
positional_head: true
# _include: (DDFacet.Parset)ddfacet_stimela_inputs_schema.yaml
## use local version until stimelation is merged:
_include: ddfacet_stimela_inputs_schema.yaml
# _flatten: 1
# _flatten_sep: "."
outputs:
dirty_mfs:
dtype: File
must_exist: false
implicit: '{current.Output.Name}.dirty.fits'
dirty_corr_mfs:
dtype: File
must_exist: false
implicit: '{current.Output.Name}.dirty.corr.fits'
app_restored_mfs:
dtype: File
must_exist: false
implicit: '{current.Output.Name}.app.restored.fits'
skymodel:
dtype: File
must_exist: false
implicit: '{current.Output.Name}.DicoModel'
killms:
command: kMS.py
backend:
native:
virtual_env: ~/.venv/ddf
policies:
prefix: '..'
# replace:
# '.': '.'
explicit_true: true
explicit_false: true
inputs:
parset:
dtype: File
required: false
info: "Name of parset to load parameters from (default is to start with global default settings.)"
policies:
positional_head: true
# _include: (killMS.Parset)killms_stimela_schema.yaml
## use local version until stimelation is merged:
_include: killms_stimela_schema.yaml
# _flatten: 1
# _flatten_sep: "."
ddf_makemodel:
command: MakeModel.py
backend:
native:
virtual_env: ~/.venv/ddf
inputs:
ds9PreClusterFile:
dtype: File
required: true
BaseImageName:
dtype: str
required: true
NCluster:
dtype: int
default: 0
outputs:
ClusterCat:
implicit: '{current.ds9PreClusterFile}.ClusterCat.npy'
lib:
steps:
ddfacet:
base:
cab: ddfacet
params:
Data.ColName: CORRECTED_DATA
Image.Cell: 0.8
Image.NPix: 10000
Facets.DiamMin: 0.03
Facets.DiamMax: 0.3
Parallel.NCPU: 96
Data.ChunkHours: 2
Freq.NBand: 3
Freq.NDegridBand: 10
RIME.DecorrMode: FT
Weight.ColName: WEIGHT_SPECTRUM
meerkat_beam:
params:
Beam.Model: FITS
Beam.NBand: 20
Beam.FITSParAngleIncDeg: 0.5
Beam.FITSFile: 'beams/meerkat_pb_jones_cube_95channels_$(xy)_$(reim).fits'
Beam.CenterNorm: true
Beam.FITSFeed: xy
Beam.FITSFeedSwap: true
Beam.ApplyPJones: true
Beam.FlipVisibilityHands: true
Beam.Smooth: 1
dirty:
_use: lib.steps.ddfacet.base
params:
Output.Mode: Dirty
ssd2:
_use: lib.steps.ddfacet.base
params:
Output.Mode: Clean
Deconv.Mode: SSD2
Deconv.MaxMajorIter: 2
SSD2.PolyFreqOrder: 3
Mask.Auto: true
Facets.CatNodes: none # ds9.reg.ClusterCat.npy
killms:
base:
cab: killms
params:
FieldID: 0
SolverType: KAFCA
PolMode: Scalar
dt: 5
NCPU: 96
OutSolsName: DD0
NChanSols: 20
InCol: CORRECTED_DATA
TChunk: 2
meerkat_beam:
params:
BeamModel: FITS
NChanBeamPerMS: 20
FITSParAngleIncDeg: 0.5
FITSFile: 'beams/meerkat_pb_jones_cube_95channels_$(xy)_$(reim).fits'
CenterNorm: true
FITSFeed: xy
FITSFeedSwap: true
ApplyPJones: true
FlipVisibilityHands: true