@@ -69,6 +69,18 @@ class Weight:
6969 long_name : Attr [str ] = "Data weights"
7070
7171
72+ @dataclass
73+ class CubeMask :
74+ data : Data [Tuple [Ch , Lt , Ln ], bool ]
75+ long_name : Attr [str ] = "Data masks"
76+
77+
78+ @dataclass
79+ class CubeWeight :
80+ data : Data [Tuple [Ch , Lt , Ln ], float ]
81+ long_name : Attr [str ] = "Data weights"
82+
83+
7284@dataclass
7385class Observation :
7486 data : Data [Ti , Literal ["U16" ]]
@@ -450,15 +462,18 @@ class Cube(AsDataArray):
450462
451463 # data
452464 data : Data [Tuple [Ch , Lt , Ln ], Any ]
465+ mask : Coordof [CubeMask ] = False
466+ weight : Coordof [CubeWeight ] = 1.0
453467 long_name : Attr [str ] = "Brightness"
454468 units : Attr [str ] = "K"
455469 name : Name [str ] = "Cube"
456470 # dimensions
457471 chan : Coordof [Chan_ ] = 0
458472 lon : Coordof [Lon_ ] = 0.0
459473 lat : Coordof [Lat_ ] = 0.0
460- # data information
474+ # telescope pointing
461475 frame : Coordof [Frame ] = "altaz"
476+ # data information
462477 bandwidth : Coordof [Bandwidth ] = 0.0
463478 frequency : Coordof [Frequency ] = 0.0
464479 beam_major : Coordof [BeamMajor ] = 0.0
@@ -468,6 +483,9 @@ class Cube(AsDataArray):
468483 observer : Attr [str ] = ""
469484 project : Attr [str ] = ""
470485 object : Attr [str ] = ""
486+ telescope_name : Attr [str ] = ""
487+ telescope_diameter : Attr [float ] = 0.0
488+ telescope_coordinates : Attr [Tuple [float , float , float ]] = 0.0 , 0.0 , 0.0
471489 # ASTE specific
472490 aste_obs_group : Attr [str ] = ""
473491 aste_obs_id : Attr [str ] = ""
0 commit comments