|
|
Public: Apply a Soln table to a Cal table writing a new Cal table.
If an input Cal table is given then apply Solutions in this routine, if no input Cal table, then copy the Soln table to a new Cal table in ObitUVSolnCopyCal. Input SN table will have its phases referenced to refAnt. - Parameters:
-
| inUV | Input UV data. Control parameters on inUV:
- "Sources" OBIT_string (?,?,1) Source names selected unless any starts with a '-' in which case all are deselected (with '-' stripped).
- "souCode" OBIT_string (4,1,1) Source Cal code desired, ' ' => any code selected '* ' => any non blank code (calibrators only) '-CAL' => blank codes only (no calibrators)
- "Qual" Obit_int (1,1,1) Source qualifier, -1 [default] = any
- "calSour" OBIT_string (?,?,1) Calibrator names selected unless any starts with a '-' in which cse all are deselected (with '-' stripped).
- "calCode" OBIT_strine (4,1,1) Calibrator code
- "solnVer" OBIT_int (1,1,1) Input Solution (SN) table version
- "calIn" OBIT_int (1,1,1) Input Cal (CL) table version iff <0 then no input Cal table, copy Soln records to output.
- "calOut" OBIT_int (1,1,1) Output Calibration table version
- "Antennas" OBIT_int (?,1,1) a list of selected antenna numbers, if any is negative then the absolute values are used and the specified antennas are deselected.
- "subA" OBIT_int (1,1,1) Selected subarray (default 1)
- "refAnt" OBIT_int (1,1,1) Ref ant to use. (default 1)
- "allPass", OBIT_bool (1,1,1) If true copy unmodified entries as well. else only data calibrated. Default = FALSE.
|
| outUV | UV with which the output UVCal is to be associated |
| err | Error stack, returns if not empty. |
- Returns:
- Pointer to the newly created CL object which is associated with outUV. Should be Unreffed when done.
|