Skip to content

Commit

Permalink
#167 Merge pull request from deshima-dev/astropenguin/issue166
Browse files Browse the repository at this point in the history
Update output image by raster command
  • Loading branch information
astropenguin authored Jul 7, 2024
2 parents f1552a5 + 4f81520 commit 422f4fe
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 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: "de:code"
abstract: "DESHIMA code for data analysis"
version: 2.14.1
date-released: 2024-07-06
version: 2.15.0
date-released: 2024-07-07
license: "MIT"
doi: "10.5281/zenodo.3384216"
url: "https://github.com/deshima-dev/decode"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ DESHIMA code for data analysis
## Installation

```shell
pip install decode==2.14.1
pip install decode==2.15.0
```

## Quick look
Expand Down
2 changes: 1 addition & 1 deletion decode/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"select",
"utils",
]
__version__ = "2.14.1"
__version__ = "2.15.0"


# submodules
Expand Down
8 changes: 4 additions & 4 deletions decode/qlook.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ def raster(

ax = axes[0] # type: ignore
plot.data(series, ax=ax)
ax.set_title(Path(dems).name)
ax.set_title(f"{da.observation}\n({Path(dems).name})")

ax = axes[1] # type: ignore
map_lim = max(abs(cube.lon).max(), abs(cube.lat).max())
Expand All @@ -277,9 +277,9 @@ def raster(
ax.set_xlim(-map_lim, map_lim)
ax.set_ylim(-map_lim, map_lim)
ax.set_title(
"Maximum: "
f"dAz = {float(max_pix.lon):+.1f} {cont.lon.attrs['units']}, "
f"dEl = {float(max_pix.lat):+.1f} {cont.lat.attrs['units']}"
f"Maximum {cont.long_name.lower()} = {cont.max():.2e} [{cont.units}]\n"
f"(dAz = {float(max_pix.lon):+.1f} [{cont.lon.attrs['units']}], "
f"dEl = {float(max_pix.lat):+.1f} [{cont.lat.attrs['units']}])"
)

for ax in axes: # type: ignore
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 = "decode"
version = "2.14.1"
version = "2.15.0"
description = "DESHIMA code for data analysis"
authors = [
"Akio Taniguchi <taniguchi@a.phys.nagoya-u.ac.jp>",
Expand Down

0 comments on commit 422f4fe

Please sign in to comment.