Skip to content

Commit

Permalink
#62 Merge pull request from deshima-dev/astropenguin/issue61
Browse files Browse the repository at this point in the history
Update DESHIMA-specific response information
  • Loading branch information
astropenguin authored Jul 17, 2024
2 parents d03ba07 + f0afd40 commit 809db55
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 5 deletions.
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ DESHIMA measurement set by DataArray
## Installation

```shell
pip install dems==2024.7.0
pip install dems==2024.7.1
```

## Usage
Expand Down Expand Up @@ -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 | - | - |
Expand Down
2 changes: 1 addition & 1 deletion dems/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
__all__ = ["d1", "d2"]
__version__ = "2024.7.0"
__version__ = "2024.7.1"


# submodules
Expand Down
9 changes: 9 additions & 0 deletions dems/d2.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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] = ""
Expand Down Expand Up @@ -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] = ""
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <taniguchi@a.phys.nagoya-u.ac.jp>"]
license = "MIT"
Expand Down

0 comments on commit 809db55

Please sign in to comment.