Skip to content

Commit

Permalink
#150 Merge pull request from deshima-dev/astropenguin/issue149
Browse files Browse the repository at this point in the history
Fix unit of MiSTI PWV
  • Loading branch information
astropenguin authored Jul 17, 2024
2 parents 521385a + 3f1a75c commit edf6034
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ keywords:
- spectroscopy
- deshima
license: MIT
version: 2024.7.0
version: 2024.7.1
date-released: '2024-07-17'
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ DESHIMA merge code for observed datasets
## Installation

```shell
pip install demerge==2024.7.0
pip install demerge==2024.7.1
```

## Command line interface
Expand All @@ -26,7 +26,7 @@ SYNOPSIS
demerge OBSID <flags>
DESCRIPTION
Run reduce and merge commands to create a single DEMS file.
Run reduce and merge commands to create a single DEMS.
POSITIONAL ARGUMENTS
OBSID
Expand All @@ -51,8 +51,17 @@ FLAGS
i.e. expecting ``${reduced_dir}/reduced_YYYYmmddHHMMSS``.
--ddb=DDB
Type: Path
Default: PosixPath('/path/to/demerge/data/ddb_20231123.fits')
Default: PosixPath('/path/to/demerge/data/ddb_20240713.fits')
Path of DDB (DESHIMA database) file.
--measure=MEASURE
Type: Literal
Default: 'df/f'
Measure of the DEMS (either df/f or brightness).
--overwrite=OVERWRITE
Type: bool
Default: False
If True, reduced data directory and merged DEMS file
will be overwritten even if they exist.
--debug=DEBUG
Type: bool
Default: False
Expand Down
2 changes: 1 addition & 1 deletion demerge/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
__all__ = ["demerge", "merge", "reduce"]
__version__ = "2024.7.0"
__version__ = "2024.7.1"


# standard library
Expand Down
2 changes: 1 addition & 1 deletion demerge/merge/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ def to_dems(
aste_subref_zt=antenna_.zt.data,
aste_misti_lon=misti_.az.data,
aste_misti_lat=misti_.el.data,
aste_misti_pwv=misti_.pwv.data, # um -> mm
aste_misti_pwv=misti_.pwv.data * 1e-3, # um -> mm
aste_misti_frame="altaz",
# deshima 2.0 specific
d2_mkid_id=mkid.masterid.data,
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 = "demerge"
version = "2024.7.0"
version = "2024.7.1"
description = "DESHIMA merge code for observed datasets"
authors = [
"Tatsuya Takekoshi <tatsuya.takekoshi@gmail.com>",
Expand Down

0 comments on commit edf6034

Please sign in to comment.