Skip to content

Commit 9b9b37a

Browse files
committedDec 9, 2024
remove deprecated opt attrs, expand intents description, #344
1 parent 2fb51f1 commit 9b9b37a

File tree

1 file changed

+5
-20
lines changed

1 file changed

+5
-20
lines changed
 

‎src/xradio/measurement_set/schema.py

+5-20
Original file line numberDiff line numberDiff line change
@@ -1188,7 +1188,10 @@ class PartitionInfoDict:
11881188
""" List of source names. """
11891189
# source_id: mising / remove for good?
11901190
intents: list[str]
1191-
""" Infromation in obs_mode column of MSv2 State table. """
1191+
""" An intent string identifies one intention of the scan, such as to calibrate or observe a
1192+
target. See :ref:`scan intents` for possible values. When converting from MSv2, the list of
1193+
intents is derived from the OBS_MODE column of MSv2 state table (every comma separated value
1194+
is taken as an intent). """
11921195
taql: Optional[str]
11931196
""" The taql query used if converted from MSv2. """
11941197
line_name: list[str]
@@ -1574,7 +1577,7 @@ class PointingXds:
15741577
"""
15751578
Pointing dataset: antenna pointing information.
15761579
1577-
In the past the relationship and definition of the pointing infromation has not been clear. Here we attempt to clarify it by explaining the relationship between the ASDM, MSv2 and MSv4 pointing information.
1580+
In the past the relationship and definition of the pointing information has not been clear. Here we attempt to clarify it by explaining the relationship between the ASDM, MSv2 and MSv4 pointing information.
15781581
15791582
The following abreviations are used:
15801583
@@ -1901,15 +1904,6 @@ class VisibilityXds:
19011904
xradio_version: Optional[Attr[str]] = None
19021905
""" Version of XRADIO used if converted from MSv2. """
19031906

1904-
intent: Optional[Attr[str]] = None
1905-
"""Identifies the intention of the scan, such as to calibrate or observe a
1906-
target. See :ref:`scan intents` for possible values.
1907-
"""
1908-
data_description_id: Optional[Attr[str]] = None
1909-
"""
1910-
The id assigned to this combination of spectral window and polarization setup.
1911-
"""
1912-
19131907

19141908
@xarray_dataset_schema
19151909
class SpectrumXds:
@@ -2001,12 +1995,3 @@ class SpectrumXds:
20011995

20021996
xradio_version: Optional[Attr[str]] = None
20031997
""" Version of XRADIO used if converted from MSv2. """
2004-
2005-
intent: Optional[Attr[str]] = None
2006-
"""Identifies the intention of the scan, such as to calibrate or observe a
2007-
target. See :ref:`scan intents` for possible values.
2008-
"""
2009-
data_description_id: Optional[Attr[str]] = None
2010-
"""
2011-
The id assigned to this combination of spectral window and polarization setup.
2012-
"""

0 commit comments

Comments
 (0)