diff --git a/CITATION.cff b/CITATION.cff index 1f2c3e5..3488126 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -3,8 +3,8 @@ message: "If you use this software, please cite it as below." title: "dems" abstract: "DESHIMA measurement set by DataArray" -version: 2024.7.0 -date-released: 2024-07-11 +version: 2024.7.1 +date-released: 2024-07-17 license: "MIT" doi: "10.5281/zenodo.8151950" url: "https://github.com/deshima-dev/dems" diff --git a/README.md b/README.md index 9fdb884..a3be61d 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ DESHIMA measurement set by DataArray ## Installation ```shell -pip install dems==2024.7.0 +pip install dems==2024.7.1 ``` ## Usage @@ -89,6 +89,7 @@ da = MS.new( | | d2_mkid_q | Coordinate | [DESHIMA 2.0] MKID quality factor | - | 0.0 | numpy.ndarray | (chan,) | float64 | | | d2_resp_fwd | Coordinate | [DESHIMA 2.0] Forward efficiency | - | 0.0 | numpy.ndarray | (chan,) | float64 | | | d2_resp_p0 | Coordinate | [DESHIMA 2.0] Proportional coefficient of responsivity | K^-0.5 | 0.0 | numpy.ndarray | (chan,) | float64 | +| | d2_resp_t0 | Coordinate | [DESHIMA 2.0] Correction temperature of responsivity | K | 0.0 | numpy.ndarray | (chan,) | float64 | | | d2_roomchopper_isblocking | Coordinate | [DESHIMA 2.0] Whether room chopper is blocking sensor | - | False | numpy.ndarray | (time,) | bool | | | d2_skychopper_isblocking | Coordinate | [DESHIMA 2.0] Whether sky chopper is blocking sensor | - | False | numpy.ndarray | (time,) | bool | | | d2_ddb_version | Attribute | [DESHIMA 2.0] DDB version | - | "" | str | - | - | diff --git a/dems/__init__.py b/dems/__init__.py index 0daad89..4dd38d4 100644 --- a/dems/__init__.py +++ b/dems/__init__.py @@ -1,5 +1,5 @@ __all__ = ["d1", "d2"] -__version__ = "2024.7.0" +__version__ = "2024.7.1" # submodules diff --git a/dems/d2.py b/dems/d2.py index 57bcf6a..720672a 100644 --- a/dems/d2.py +++ b/dems/d2.py @@ -319,6 +319,13 @@ class D2RespP0: units: Attr[str] = "K^-0.5" +@dataclass +class D2RespT0: + data: Data[Ch, float] + long_name: Attr[str] = "[DESHIMA 2.0] Correction temperature of responsivity" + units: Attr[str] = "K" + + @dataclass class D2RoomchopperIsblocking: data: Data[Ti, bool] @@ -401,6 +408,7 @@ class MS(AsDataArray): d2_mkid_q: Coordof[D2MkidQ] = 0.0 d2_resp_fwd: Coordof[D2RespFwd] = 0.0 d2_resp_p0: Coordof[D2RespP0] = 0.0 + d2_resp_t0: Coordof[D2RespT0] = 0.0 d2_roomchopper_isblocking: Coordof[D2RoomchopperIsblocking] = False d2_skychopper_isblocking: Coordof[D2SkychopperIsblocking] = False d2_ddb_version: Attr[str] = "" @@ -452,6 +460,7 @@ class Cube(AsDataArray): d2_mkid_q: Coordof[D2MkidQ] = 0.0 d2_resp_fwd: Coordof[D2RespFwd] = 0.0 d2_resp_p0: Coordof[D2RespP0] = 0.0 + d2_resp_t0: Coordof[D2RespT0] = 0.0 d2_ddb_version: Attr[str] = "" d2_demerge_version: Attr[str] = "" d2_dems_version: Attr[str] = "" diff --git a/pyproject.toml b/pyproject.toml index 3cc94a9..e9b8cba 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "dems" -version = "2024.7.0" +version = "2024.7.1" description = "DESHIMA measurement set by DataArray" authors = ["Akio Taniguchi "] license = "MIT"