public:user_software:documentation:makesourcedb

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
public:user_software:documentation:makesourcedb [2022-04-29 11:47] – [Format string] Tammo Jan Dijkemapublic:user_software:documentation:makesourcedb [2022-10-21 14:25] (current) – Fix non logarithmic si definition Tammo Jan Dijkema
Line 93: Line 93:
 |OrientationIsAbsolute|boolean| |false|Whether the Orientation is absolute (w.r.t. declination axis) or relative (w.r.t. m axis in not-specified field). See the note below.| |OrientationIsAbsolute|boolean| |false|Whether the Orientation is absolute (w.r.t. declination axis) or relative (w.r.t. m axis in not-specified field). See the note below.|
 |IShapelet|string| | |Name of the ASCII file defining the shapelet coefficients and scale of the I flux in the 'Sarod' format. Note that field ''I'' gives the total flux, while ''IShapelet'' defines the shape.| |IShapelet|string| | |Name of the ASCII file defining the shapelet coefficients and scale of the I flux in the 'Sarod' format. Note that field ''I'' gives the total flux, while ''IShapelet'' defines the shape.|
-|QShapelet|string| |_ckgedit_QUOT__ckgedit> | Idem for Q flux. An empty name means that no Q flux is present. Note that the Q (and U) flux can still be given using RotationMeasure. | UShapelet | string | _ckgedit_QUOT__ckgedit>|Idem for U flux.| +|QShapelet|string| | |Idem for Q flux. An empty name means that no Q flux is present. Note that the Q (and U) flux can still be given using RotationMeasure.
-|VShapelet|string| |""|Idem for V flux.|+|UShapelet|string| |Idem for U flux.| 
 +|VShapelet|string| | |Idem for V flux.|
 |SpectralIndex|doubles| |[]|Spectral index. Multiple values can be given enclosed in square brackets and separated by commas. The n-th value defines the n-th order term. \\ Note that the old way of specifying the spectral index (using SpectralIndexDegree and SpectralIndex:i) is not supported anymore. If used, an error is given.| |SpectralIndex|doubles| |[]|Spectral index. Multiple values can be given enclosed in square brackets and separated by commas. The n-th value defines the n-th order term. \\ Note that the old way of specifying the spectral index (using SpectralIndexDegree and SpectralIndex:i) is not supported anymore. If used, an error is given.|
 +|LogarithmicSI|bool| true |Determines the meaning of the spectral index. See Logarithmic SI below|
 |ReferenceFrequency|double|Hz| |Reference frequency (in Hz) for the spectral index| |ReferenceFrequency|double|Hz| |Reference frequency (in Hz) for the spectral index|
 |RotationMeasure|double|rad/m<nowiki>^</nowiki>2| |Rotation measure for the polarized flux Q and U| |RotationMeasure|double|rad/m<nowiki>^</nowiki>2| |Rotation measure for the polarized flux Q and U|
 |PolarizationAngle|double|rad|0|Polarization angle (in radians) for the polarized flux| |PolarizationAngle|double|rad|0|Polarization angle (in radians) for the polarized flux|
 |PolarizedFraction|double| |0|Fraction of I that is polarized| |PolarizedFraction|double| |0|Fraction of I that is polarized|
-|ReferenceWavelength|double|m|c/ReferenceFrequency|Reference wavelength (in m) if RM is specified using Q and U|+|ReferenceWavelength|double|m||Reference wavelength (in m) if RM is specified using Q and U|
 |Category|integer| |2|Source category (must be 1, 2, or 3)| |Category|integer| |2|Source category (must be 1, 2, or 3)|
 |Patch|string| | |Patch name| |Patch|string| | |Patch name|
Line 115: Line 117:
  
 Note that the polarized flux can be given directly (as Q and U) or by means of the rotation measure, polarization angle, and polarized fraction. An error is given if both are given for the same source. Note that the polarized flux can be given directly (as Q and U) or by means of the rotation measure, polarization angle, and polarized fraction. An error is given if both are given for the same source.
 +
 +=== Logarithmic Spectral Index ===
 +If ''LogarithmicSI'' is ''true'' (the default), the source intensity 'I' is computed as 
 +
 +''I = I0 * (v/v0) ^ (c0 + c1 * log10(v/v0) + c2 * log10(v/v0)^2 + ...)'', where 'v' is the frequency and 'v0' is the reference frequency.
 +
 +If ''LogarithmicSI'' is ''false'', the spectral index is interpreted in a way compatible with wsclean, namely as 
 +
 +''I = I0 + c0 * (v/v0 - 1) + c1 * (v /v0 - 1)^2 + c2 * (v/v0 -1)^3 + ...''
 +
 +This definition is also described in the [[https://wsclean.readthedocs.io/en/latest/component_list.html|WSClean documentation]].
  
 === Using Rotation Measure === === Using Rotation Measure ===
Line 128: Line 141:
  
 A source is attached to a patch if its input line contains a patch name. A line defining that patch should have been processed before this line. \\ If no patch name is given for a source (as is usually the case), the source forms a patch in itself and the source name is used as the patch name (with an optional prefix/suffix). In this way BBS can always deal with patches. A source is attached to a patch if its input line contains a patch name. A line defining that patch should have been processed before this line. \\ If no patch name is given for a source (as is usually the case), the source forms a patch in itself and the source name is used as the patch name (with an optional prefix/suffix). In this way BBS can always deal with patches.
 +
 +=== Orientation of Gaussian sources ===
 +
 +Until 2022, the orientation of Gaussian sources has been interpreted somewhat wrong. It was interpreted (both by DP3 and pybdsf) as the angle with respect to the m axis of a certain image. The correct (implicit) definition is the orientation w.r.t. the declination axis. For fields far away from the NCP, and/or sources not too far from the field center, these two definitions are almost identical.
 +
 +In DP3 v5.3 a fix was implemented to take the projection effects into account properly. This fix is only called when OrientationIsAbsolute is true. A script will be added to LSMTool to convert from 'relative' orientation to absolute ones (this script needs the phase center of the original image as an input).
  
  
  • Last modified: 2022-04-29 11:47
  • by Tammo Jan Dijkema