Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
85 lines (57 loc) · 1.89 KB

File metadata and controls

85 lines (57 loc) · 1.89 KB
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# standard library
from dataclasses import dataclass
from typing import Any, Tuple
# dependencies
from xarray_dataclasses import AsDataArray, Coordof, Data
# submodules
from . import coords
from . import dims
from .utils import KeywordOnly
# dataclasses
@dataclass
class Array(AsDataArray, KeywordOnly):
"""Common single-dish data structure."""
data: Data[Tuple[dims.time, dims.chan], Any]
"""Two-dimensional array data."""
mask: Coordof[coords.Mask] = False
"""Mask of array data."""
sigma: Coordof[coords.Sigma] = 0.0
"""Uncertainty of array data."""
weight: Coordof[coords.Weight] = 1.0
"""Weight of array data."""
time: Coordof[dims.Time] = "2000-01-01"
"""Start time in UTC."""
obs: Coordof[coords.Obs] = "0"
"""Observation label."""
scan: Coordof[coords.Scan] = "0"
"""Scan label."""
mode: Coordof[coords.Mode] = "0"
"""Mode label."""
exposure: Coordof[coords.Exposure] = 0.0
"""Exposure time."""
interval: Coordof[coords.Interval] = 0.0
"""Interval time."""
longitude: Coordof[coords.Longitude] = 0.0
"""Sky longitude."""
latitude: Coordof[coords.Latitude] = 0.0
"""Sky latitude."""
chan: Coordof[dims.Chan] = 0
"""Channel number."""
beam: Coordof[coords.Beam] = "0"
"""Beam label."""
spw: Coordof[coords.SpW] = "0"
"""Spectral window label."""
pol: Coordof[coords.Pol] = "0"
"""Polarization label."""
lon_offset: Coordof[coords.LonOffset] = 0.0
"""Offset from sky longitude."""
lat_offset: Coordof[coords.LatOffset] = 0.0
"""Offset from sky latitude."""
center_freq: Coordof[coords.CenterFreq] = 0.0
"""Center frequency."""
ref_freq: Coordof[coords.RefFreq] = 0.0
"""Reference frequency."""
resolution: Coordof[coords.Resolution] = 0.0
"""Spectral resolution."""
width: Coordof[coords.Width] = 0.0
"""Channel width."""
Morty Proxy This is a proxified and sanitized view of the page, visit original site.