Data Object: weights
The weights table container is use to store the correlator weights assigned to
the visibility data, corresponding to each polarization-product, channel, and AP.
If the combined fraction of data that was lost or flagged invalid for a particular
channel/AP (from either station) is ‘f’, then the corresponding weight value will be
(1-f). On disk the data elements of the objects of weight_store_type are
of the type float
, but this object is promoted to weight_type
with double
elements for in-memory processing.
General Information
Class: weight_store_type or weight_type
Class UUID: f05838a616aa848562a57d5ace23e8d1
Rank: 4
Shape: the length of each dimension (e.g. [4, 32, 30, 1] )
Strides: the stride between data in each dimension (e.g. [960, 30, 1, 1])
Total Size: the total number of data elements in the array (e.g. 3840 )
Element Type:
float
Aliases
alias |
full class name |
---|---|
|
|
|
|
Axes
Axis Index |
Name |
Units |
Type |
Description/Example |
---|---|---|---|---|
0 |
polarization_product |
N/A |
|
XX, XY, YY, RR, LL, XR, YL |
1 |
channel |
MHz |
|
lower channel edge (e.g. 3032.4) |
2 |
time |
s |
|
start of each AP (0, 1.0,…) |
3 |
frequency |
MHz |
|
size is 1 |
Frequency Axis (Index 3) - Detail
The last axis (index 3) by default only has length one. There are no sub-channel (or spectral) weights. It is possible that at some time in the future, additional data editing features will be implemented which may modify weights on a sub-channel basis. If such spectral weighting is applied then it will no longer be safe to assume that the size of this dimension is one.
Channel Axis (Index 1) - Detail
Each axis is capable of having additional data appended in the form of index tags,
or interval tags. By default both difx2hops
and mark42hops
will append the channel
axis with additional index tags which contain information needed to process the visibility data.
The index tag entries along the channel axis include (but are not limited to) the following:
channel_id: the reference/remote channel id pairs (e.g. X04LX:X04LY)
bandwidth: float (MHz) e.g. 32.0 MHz
difx_frequency_index: integer (e.g. 0-31)
frequency_band: X
net_sideband: L (lower) or U (upper)
sky_frequency: float (MHz) e.g. 3032.4
An example of such index tag entries for the channel axis could look like:
index |
sky_frequency |
net_sideband |
bandwidth |
DIFX Index |
channel_id |
---|---|---|---|---|---|
0 |
3032.4 |
L |
32 |
7 |
X00LX:X00LX |
1 |
3064.4 |
L |
32 |
6 |
X01LX:X01LX |
2 |
3096.4 |
L |
32 |
5 |
X02LX:X02LX |
… |
… |
… |
… |
… |
… |
31 |
10680.4 |
L |
32 |
24 |
X31LX:X31LX |