From af0923d20a6794623f1c44b7c21ff71649e92399 Mon Sep 17 00:00:00 2001 From: Akio Taniguchi Date: Wed, 17 Jul 2024 10:10:53 +0000 Subject: [PATCH 1/3] #61 Update DESHIMA-specific response information --- README.md | 1 + dems/d2.py | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/README.md b/README.md index 9fdb884..2ef7092 100644 --- a/README.md +++ b/README.md @@ -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/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] = "" From b0bdbf68e4e028e22e5a3c7dcb3070e0fd5f216c Mon Sep 17 00:00:00 2001 From: Akio Taniguchi Date: Wed, 17 Jul 2024 10:12:18 +0000 Subject: [PATCH 2/3] =?UTF-8?q?#61=20Update=20package=20version=20(2024.7.?= =?UTF-8?q?0=20=E2=86=92=202024.7.1)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CITATION.cff | 2 +- README.md | 2 +- dems/__init__.py | 2 +- pyproject.toml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CITATION.cff b/CITATION.cff index 1f2c3e5..eedb3e7 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -3,7 +3,7 @@ message: "If you use this software, please cite it as below." title: "dems" abstract: "DESHIMA measurement set by DataArray" -version: 2024.7.0 +version: 2024.7.1 date-released: 2024-07-11 license: "MIT" doi: "10.5281/zenodo.8151950" diff --git a/README.md b/README.md index 2ef7092..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 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/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" From f0afd401ff7725993cbc15591b85b4bb9b5cb0f9 Mon Sep 17 00:00:00 2001 From: Akio Taniguchi Date: Wed, 17 Jul 2024 10:12:54 +0000 Subject: [PATCH 3/3] #61 Update release date --- CITATION.cff | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CITATION.cff b/CITATION.cff index eedb3e7..3488126 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -4,7 +4,7 @@ message: "If you use this software, please cite it as below." title: "dems" abstract: "DESHIMA measurement set by DataArray" version: 2024.7.1 -date-released: 2024-07-11 +date-released: 2024-07-17 license: "MIT" doi: "10.5281/zenodo.8151950" url: "https://github.com/deshima-dev/dems"