Source
252
252
253
253
incremental -- Create an incremental caltable containing only gain correction
254
254
factors ( flux density= 1/(gain correction factor)**2)
255
255
default: False; (older behavior = create flux-scaled gain table)
256
256
example: incremental=True (output a caltable containing flux scale factors.)
257
257
258
258
NOTE: If you use the incremental option, note that BOTH this incremental
259
259
fluxscale table AND an amplitude vs. time table should be supplied in applycal.
260
260
261
261
fitorder -- Polynomial order of the spectral fitting for valid flux densities
262
-
with multiple spws. Currently only support 1 (spectral index only) or
263
-
2 (spectral index and curvature). It falls back to a lower fitorder if
264
-
there are not enough solutions to fit with the requested fitorder.
262
+
It falls back to a lower fitorder if there are not enough solutions to fit with the requested fitorder.
265
263
default: 1
266
264
display -- Display statistics and/or spectral fitting results. Currently only a histogram
267
265
of the correction factors to derive the final flux density for each spectral window
268
266
will be plotted.
269
267
default: False
270
268
example: display=True
271
269
272
270
Returned dictionary:
273
271
when it is run as fluxres = fluxscale(vis='my.ms',...), the determined flux
274
272
densities and spectral index information are returned as a Python dictionary with
275
273
a format, {fieldIdstr: {spwIdstr: {'fluxd':array([I,Q,U,V]),
276
274
'fluxdErr': corresponding errors,
277
275
'numSol': corresponding no. of solutions,
278
276
'fieldName': field name,
279
277
'fitFluxd': fitted flux density at the reference frequency,
280
278
'fitFluxdErr': fitted flux density error,
281
279
'fitRefFreq': reference frequency,
282
-
'spidx': a_0, a_1, a_2
283
-
'spidxerr': errors in a_0,a_1, a_2}
280
+
'spidx': a_0, a_1, a_2, a_3, ... a_n,
281
+
'spidxerr': errors in a_0,a_1, a_2, a_3, ... a_n}
284
282
'freq': (center) spw frequencies
285
283
'spwID': list of spw IDs,
286
284
'spwName': list of spw names}, where fieldIdstr and spwIdstr
287
285
are field Id and spw Id in string type, respectively.
288
286
289
287
290
288
</example>
291
289
</task>
292
290
</casaxml>