Recent Releases of decode

decode - 2025.8.0 (2025-08-18)

What's Changed

  • Do not keep name in utils.phaseof by default by @astropenguin in https://github.com/deshima-dev/decode/pull/245

Full Changelog: https://github.com/deshima-dev/decode/compare/2025.6.1...2025.8.0

- Python
Published by astropenguin 6 months ago

decode - 2025.6.1 (2025-06-23)

What's Changed

  • Do not clone submodules in PyPI workflow by @astropenguin in https://github.com/deshima-dev/decode/pull/243

Full Changelog: https://github.com/deshima-dev/decode/compare/2025.6.0...2025.6.1

- Python
Published by astropenguin 8 months ago

decode - 2025.6.0 (2025-06-23)

What's Changed

  • Add df/f-to-brightness conversion (and vice versa) by @astropenguin in https://github.com/deshima-dev/decode/pull/237
  • Update load.dems by @astropenguin in https://github.com/deshima-dev/decode/pull/239
  • Add stats module for chunked statistics by @astropenguin in https://github.com/deshima-dev/decode/pull/241

Full Changelog: https://github.com/deshima-dev/decode/compare/v2025.4.2...2025.6.0

- Python
Published by astropenguin 8 months ago

decode - v2025.4.2 (2025-04-17)

What's Changed

  • Fix return data type of DataArray in convert.units by @astropenguin in https://github.com/deshima-dev/decode/pull/235

Full Changelog: https://github.com/deshima-dev/decode/compare/v2025.4.1...v2025.4.2

- Python
Published by astropenguin 11 months ago

decode - v2025.4.1 (2025-04-17)

What's Changed

  • Remove deprecated data type (numpy.float_) by @astropenguin in https://github.com/deshima-dev/decode/pull/233

Full Changelog: https://github.com/deshima-dev/decode/compare/v2025.4.0...v2025.4.1

- Python
Published by astropenguin 11 months ago

decode - v2025.4.0 (2025-04-17)

What's Changed

  • Pointing結果のTOML出力の実装 by @daisukenaito in https://github.com/deshima-dev/decode/pull/229
  • Update project dependencies by @astropenguin in https://github.com/deshima-dev/decode/pull/231

New Contributors

  • @daisukenaito made their first contribution in https://github.com/deshima-dev/decode/pull/229

Full Changelog: https://github.com/deshima-dev/decode/compare/v2025.2.0...v2025.4.0

- Python
Published by astropenguin 11 months ago

decode - v2025.2.0 (2025-02-13)

What's Changed

  • Change variable names in the gaussian fittings by @ShinjiFujita in https://github.com/deshima-dev/decode/pull/219
  • Release v2025.2.0 by @astropenguin in https://github.com/deshima-dev/decode/pull/227

Full Changelog: https://github.com/deshima-dev/decode/compare/v2024.11.0...v2025.2.0

- Python
Published by astropenguin about 1 year ago

decode - v2024.11.0 (2024-11-26)

What's Changed

  • Implement ABBA-based analysis for chop-and-nod observations by @hapipapijuris in https://github.com/deshima-dev/decode/pull/221
  • Release v2024.11.0 by @astropenguin in https://github.com/deshima-dev/decode/pull/223
  • Fix release date by @astropenguin in https://github.com/deshima-dev/decode/pull/225

Full Changelog: https://github.com/deshima-dev/decode/compare/v2024.9.2...v2024.11.0

- Python
Published by astropenguin over 1 year ago

decode - v2024.9.2 (2024-09-10)

What's Changed

  • Fix reversed sky longitude axis in daisy/raster qlook by @ShinjiFujita in https://github.com/deshima-dev/decode/pull/215
  • Release v2024.9.2 by @astropenguin in https://github.com/deshima-dev/decode/pull/217

Full Changelog: https://github.com/deshima-dev/decode/compare/v2024.9.1...v2024.9.2

- Python
Published by astropenguin over 1 year ago

decode - v2024.9.1 (2024-09-04)

What's Changed

  • Update definition of major/minor axes of 2D Gaussian fitting by @ShinjiFujita in https://github.com/deshima-dev/decode/pull/207
  • Release v2024.9.1 by @astropenguin in https://github.com/deshima-dev/decode/pull/213

Full Changelog: https://github.com/deshima-dev/decode/compare/v2024.9.0...v2024.9.1

- Python
Published by astropenguin over 1 year ago

decode - v2024.9.0 (2024-09-01)

What's Changed

  • Add signal spike removal (caused by the sky chopper blade) by @hapipapijuris in https://github.com/deshima-dev/decode/pull/208
  • Release v2024.9.0 by @astropenguin in https://github.com/deshima-dev/decode/pull/210

Full Changelog: https://github.com/deshima-dev/decode/compare/v2024.8.4...v2024.9.0

- Python
Published by astropenguin over 1 year ago

decode - v2024.8.4 (2024-08-17)

What's Changed

  • Add utility to get phase label of 1D DataArray by @astropenguin in https://github.com/deshima-dev/decode/pull/205

Full Changelog: https://github.com/deshima-dev/decode/compare/v2024.8.3...v2024.8.4

- Python
Published by astropenguin over 1 year ago

decode - v2024.8.3 (2024-08-10)

What's Changed

  • Fix aspect ratio of qlook map images by @astropenguin in https://github.com/deshima-dev/decode/pull/203

Full Changelog: https://github.com/deshima-dev/decode/compare/v2024.8.2...v2024.8.3

- Python
Published by astropenguin over 1 year ago

decode - v2024.8.2 (2024-08-09)

What's Changed

  • Fix 2D Gaussian fitting and related title formatting of qlook by @ShinjiFujita in https://github.com/deshima-dev/decode/pull/198
  • Release v2024.8.2 by @astropenguin in https://github.com/deshima-dev/decode/pull/201

Full Changelog: https://github.com/deshima-dev/decode/compare/v2024.8.1...v2024.8.2

- Python
Published by astropenguin over 1 year ago

decode - v2024.8.1 (2024-08-07)

What's Changed

  • Add 2D Gaussian fitter to qlook commands by @ShinjiFujita in https://github.com/deshima-dev/decode/pull/190
  • Release v2024.8.1 by @astropenguin in https://github.com/deshima-dev/decode/pull/196

Full Changelog: https://github.com/deshima-dev/decode/compare/v2024.8.0...v2024.8.1

- Python
Published by astropenguin over 1 year ago

decode - v2024.8.0 (2024-08-06)

What's Changed

  • Add atmospheric transmission correction to daisy command by @hapipapijuris in https://github.com/deshima-dev/decode/pull/188
  • Add moving average (by DataArray.rolling) to qlook commands by @ShinjiFujita in https://github.com/deshima-dev/decode/pull/191
  • Release v2024.8.0 by @astropenguin in https://github.com/deshima-dev/decode/pull/194

New Contributors

  • @ShinjiFujita made their first contribution in https://github.com/deshima-dev/decode/pull/191

Full Changelog: https://github.com/deshima-dev/decode/compare/v2024.7.1...v2024.8.0

- Python
Published by astropenguin over 1 year ago

decode - v2024.7.1 (2024-07-27)

What's Changed

  • Add atmospheric transmission correction to raster command by @hapipapijuris in https://github.com/deshima-dev/decode/pull/181
  • Fix labeling method of qlook daisy command by @astropenguin in https://github.com/deshima-dev/decode/pull/185

Full Changelog: https://github.com/deshima-dev/decode/compare/v2024.7.0...v2024.7.1

- Python
Published by astropenguin over 1 year ago

decode - v2024.7.0 (2024-07-19)

What's Changed

  • Use dems v2024.7.2 or later by @astropenguin in https://github.com/deshima-dev/decode/pull/177

Full Changelog: https://github.com/deshima-dev/decode/compare/v2.17.0...v2024.7.0

- Python
Published by astropenguin over 1 year ago

decode - v2.17.0 (2024-07-14)

What's Changed

  • Add qlook option for debugging by @astropenguin in https://github.com/deshima-dev/decode/pull/175

Full Changelog: https://github.com/deshima-dev/decode/compare/v2.16.1...v2.17.0

- Python
Published by astropenguin over 1 year ago

decode - v2.16.1 (2024-07-14)

What's Changed

  • Fix qlook options for min/max frequencies by @astropenguin in https://github.com/deshima-dev/decode/pull/173

Full Changelog: https://github.com/deshima-dev/decode/compare/v2.16.0...v2.16.1

- Python
Published by astropenguin over 1 year ago

decode - v2.16.0 (2024-07-13)

What's Changed

  • Add qlook command for daisy scan by @astropenguin in https://github.com/deshima-dev/decode/pull/169
  • Update qlook options for loading DEMS by @astropenguin in https://github.com/deshima-dev/decode/pull/171

Full Changelog: https://github.com/deshima-dev/decode/compare/v2.15.0...v2.16.0

- Python
Published by astropenguin over 1 year ago

decode - v2.15.0 (2024-07-07)

What's Changed

  • Update output image by raster command by @astropenguin in https://github.com/deshima-dev/decode/pull/167

Full Changelog: https://github.com/deshima-dev/decode/compare/v2.14.1...v2.15.0

- Python
Published by astropenguin over 1 year ago

decode - v2.14.1 (2024-07-06)

What's Changed

  • Fix missing conditional branches for X/Y scan by @astropenguin in https://github.com/deshima-dev/decode/pull/165

Full Changelog: https://github.com/deshima-dev/decode/compare/v2.14.0...v2.14.1

- Python
Published by astropenguin over 1 year ago

decode - v2.14.0 (2024-07-06)

What's Changed

  • Add qlook commands for X/Y scan by @astropenguin in https://github.com/deshima-dev/decode/pull/163

Full Changelog: https://github.com/deshima-dev/decode/compare/v2.13.0...v2.14.0

- Python
Published by astropenguin over 1 year ago

decode - v2.13.0 (2024-06-12)

What's Changed

  • Correct for atmospheric transmission qlook by @hapipapijuris in https://github.com/deshima-dev/decode/pull/158
  • Release v2.13.0 by @astropenguin in https://github.com/deshima-dev/decode/pull/160

Full Changelog: https://github.com/deshima-dev/decode/compare/v2.12.0...v2.13.0

- Python
Published by astropenguin over 1 year ago

decode - v2.12.0 (2024-06-11)

What's Changed

  • Keep attributes in qlook functions by @hapipapijuris in https://github.com/deshima-dev/decode/pull/154
  • Release v2.12.0 by @astropenguin in https://github.com/deshima-dev/decode/pull/156

New Contributors

  • @hapipapijuris made their first contribution in https://github.com/deshima-dev/decode/pull/154

Full Changelog: https://github.com/deshima-dev/decode/compare/v2.11.0...v2.12.0

- Python
Published by astropenguin over 1 year ago

decode - v2.11.0 (2023-12-07)

What's Changed

  • Update supported DEMS version by @astropenguin in https://github.com/deshima-dev/decode/pull/147

Full Changelog: https://github.com/deshima-dev/decode/compare/v2.10.0...v2.11.0

- Python
Published by astropenguin about 2 years ago

decode - v2.10.0 (2023-12-05)

What's Changed

  • Fix qlook function for file saving by @astropenguin in https://github.com/deshima-dev/decode/pull/144
  • Add qlook command for automation (auto) by @astropenguin in https://github.com/deshima-dev/decode/pull/145

Full Changelog: https://github.com/deshima-dev/decode/compare/v2.9.1...v2.10.0

- Python
Published by astropenguin about 2 years ago

decode - v2.9.1 (2023-11-25)

What's Changed

  • Fix qlook module by @astropenguin in https://github.com/deshima-dev/decode/pull/141

Full Changelog: https://github.com/deshima-dev/decode/compare/v2.9.0...v2.9.1

- Python
Published by astropenguin over 2 years ago

decode - v2.9.0 (2023-11-25)

What's Changed

  • Update qlook module by @astropenguin in https://github.com/deshima-dev/decode/pull/139

Full Changelog: https://github.com/deshima-dev/decode/compare/v2.8.0...v2.9.0

- Python
Published by astropenguin over 2 years ago

decode - v2.8.0 (2023-11-12)

What's Changed

  • Add qlook command for PSW + Sky chopper (pswsc) by @astropenguin in https://github.com/deshima-dev/decode/pull/132
  • Add qlook command for still (and any type of) observations by @astropenguin in https://github.com/deshima-dev/decode/pull/134
  • Release v2.8.0 by @astropenguin in https://github.com/deshima-dev/decode/pull/137

Full Changelog: https://github.com/deshima-dev/decode/compare/v2.7.2...v2.8.0

- Python
Published by astropenguin over 2 years ago

decode - v2.7.2 (2023-11-10)

What's Changed

  • Update weighting method of quick look by @astropenguin in https://github.com/deshima-dev/decode/pull/129

Full Changelog: https://github.com/deshima-dev/decode/compare/v2.7.1...v2.7.2

- Python
Published by astropenguin over 2 years ago

decode - v2.7.1 (2023-11-09)

What's Changed

  • Fix qlook module by @astropenguin in https://github.com/deshima-dev/decode/pull/127

Full Changelog: https://github.com/deshima-dev/decode/compare/v2.7.0...v2.7.1

- Python
Published by astropenguin over 2 years ago

decode - v2.7.0 (2023-11-08)

What's Changed

  • Add command line interface for quick look by @astropenguin in https://github.com/deshima-dev/decode/pull/125

Full Changelog: https://github.com/deshima-dev/decode/compare/v2.6.0...v2.7.0

- Python
Published by astropenguin over 2 years ago

decode - v2.6.0 (2023-11-08)

What's Changed

  • Use cube class of DEMS in making cube by @astropenguin in https://github.com/deshima-dev/decode/pull/121
  • Release v2.6.0 by @astropenguin in https://github.com/deshima-dev/decode/pull/123

Full Changelog: https://github.com/deshima-dev/decode/compare/v2.5.4...v2.6.0

- Python
Published by astropenguin over 2 years ago

decode - v2.5.4 (2023-11-07)

What's Changed

  • Fix wrong attribute name in make.cube by @astropenguin in https://github.com/deshima-dev/decode/pull/119

Full Changelog: https://github.com/deshima-dev/decode/compare/v2.5.3...v2.5.4

- Python
Published by astropenguin over 2 years ago

decode - v2.5.3 (2023-11-07)

What's Changed

  • Update make module by @astropenguin in https://github.com/deshima-dev/decode/pull/117

Full Changelog: https://github.com/deshima-dev/decode/compare/v2.5.2...v2.5.3

- Python
Published by astropenguin over 2 years ago

decode - v2.5.2 (2023-11-06)

What's Changed

  • Fix dtype of d2mkidtype in Cube by @astropenguin in https://github.com/deshima-dev/decode/pull/115

Full Changelog: https://github.com/deshima-dev/decode/compare/v2.5.1...v2.5.2

- Python
Published by astropenguin over 2 years ago

decode - v2.5.1 (2023-11-06)

What's Changed

  • Do not update frame coordinate by @astropenguin in https://github.com/deshima-dev/decode/pull/113

Full Changelog: https://github.com/deshima-dev/decode/compare/v2.5.0...v2.5.1

- Python
Published by astropenguin over 2 years ago

decode - v2.5.0 (2023-11-06)

What's Changed

  • Add convert module by @astropenguin in https://github.com/deshima-dev/decode/pull/108
  • Release v2.5.0 by @astropenguin in https://github.com/deshima-dev/decode/pull/111

Full Changelog: https://github.com/deshima-dev/decode/compare/v2.4.0...v2.5.0

- Python
Published by astropenguin over 2 years ago

decode - v2.4.0 (2023-10-26)

What's Changed

  • Add fit module by @astropenguin in https://github.com/deshima-dev/decode/pull/100
  • Add (initial) make module by @astropenguin in https://github.com/deshima-dev/decode/pull/103
  • Release v2.4.0 by @astropenguin in https://github.com/deshima-dev/decode/pull/104

Full Changelog: https://github.com/deshima-dev/decode/compare/v2.3.0...v2.4.0

- Python
Published by astropenguin over 2 years ago

decode - v2.3.0 (2023-10-25)

What's Changed

  • Add assign module by @astropenguin in https://github.com/deshima-dev/decode/pull/96
  • Add correct module by @astropenguin in https://github.com/deshima-dev/decode/pull/97
  • Release v2.3.0 by @astropenguin in https://github.com/deshima-dev/decode/pull/99

Full Changelog: https://github.com/deshima-dev/decode/compare/v2.2.0...v2.3.0

- Python
Published by astropenguin over 2 years ago

decode - v2.2.0 (2023-10-25)

What's Changed

  • Fix function for selecting DEMS by @astropenguin in https://github.com/deshima-dev/decode/pull/88
  • Rename io module (io → load) by @astropenguin in https://github.com/deshima-dev/decode/pull/90
  • Release v2.2.0 by @astropenguin in https://github.com/deshima-dev/decode/pull/92

Full Changelog: https://github.com/deshima-dev/decode/compare/v2.1.0...v2.2.0

- Python
Published by astropenguin over 2 years ago

decode - v2.1.0 (2023-10-25)

What's Changed

  • Add plot module by @astropenguin in https://github.com/deshima-dev/decode/pull/81
  • Add select module by @astropenguin in https://github.com/deshima-dev/decode/pull/83
  • Release v2.1.0 by @astropenguin in https://github.com/deshima-dev/decode/pull/86

Full Changelog: https://github.com/deshima-dev/decode/compare/v2.0.0...v2.1.0

- Python
Published by astropenguin over 2 years ago

decode - v2.0.0 (2023-07-16)

What's Changed

  • Update supported Python versions by @astropenguin in https://github.com/deshima-dev/decode/pull/72
  • Remove unused features by @astropenguin in https://github.com/deshima-dev/decode/pull/74
  • Add io module by @astropenguin in https://github.com/deshima-dev/decode/pull/76
  • Release v2.0.0 by @astropenguin in https://github.com/deshima-dev/decode/pull/78

Full Changelog: https://github.com/deshima-dev/decode/compare/v1.0.0...v2.0.0

- Python
Published by astropenguin over 2 years ago

decode - v1.0.0 (2023-07-16)

What's Changed

  • Update supported Python versions by @astropenguin in https://github.com/deshima-dev/decode/pull/62
  • Release v1.0.0 by @astropenguin in https://github.com/deshima-dev/decode/pull/65

Full Changelog: https://github.com/deshima-dev/decode/compare/v0.7.1...v1.0.0

- Python
Published by astropenguin over 2 years ago

decode - v0.7.1 (2022-10-24)

What's Changed

  • Fix minimum requirement of matplotlib by @astropenguin in https://github.com/deshima-dev/decode/pull/56

Full Changelog: https://github.com/deshima-dev/decode/compare/v0.7.0...v0.7.1

- Python
Published by astropenguin over 3 years ago

decode - Update release

What's Changed

  • Bump pillow from 8.4.0 to 9.0.0 by @dependabot in https://github.com/deshima-dev/decode/pull/41
  • Bump ipython from 7.29.0 to 7.31.1 by @dependabot in https://github.com/deshima-dev/decode/pull/42
  • Use xarray-dataclasses for creating array or cube by @astropenguin in https://github.com/deshima-dev/decode/pull/49
  • Use morecopy for copying function by @astropenguin in https://github.com/deshima-dev/decode/pull/50
  • Release v0.7.0 by @astropenguin in https://github.com/deshima-dev/decode/pull/53

New Contributors

  • @dependabot made their first contribution in https://github.com/deshima-dev/decode/pull/41

Full Changelog: https://github.com/deshima-dev/decode/compare/v0.6.1...v0.7.0

- Python
Published by astropenguin over 3 years ago

decode - Update release

What's Changed

  • Use TOML for FITS information by @astropenguin in https://github.com/deshima-dev/decode/pull/36
  • Update directory structure by @astropenguin in https://github.com/deshima-dev/decode/pull/38
  • Release v0.6.1 by @astropenguin in https://github.com/deshima-dev/decode/pull/40

Full Changelog: https://github.com/deshima-dev/decode/compare/v0.6.0...v0.6.1

- Python
Published by astropenguin about 4 years ago

decode - Update release

Important notes

  • The support of Python 3.6 is dropped from this version.

What's Changed

  • Require init.py in sub-packages by @Hoshock in https://github.com/deshima-dev/decode/pull/20
  • Update development environment by @astropenguin in https://github.com/deshima-dev/decode/pull/27
  • Update supported Python versions by @astropenguin in https://github.com/deshima-dev/decode/pull/29
  • Release v0.6.0 by @astropenguin in https://github.com/deshima-dev/decode/pull/31

New Contributors

  • @Hoshock made their first contribution in https://github.com/deshima-dev/decode/pull/20

Full Changelog: https://github.com/deshima-dev/decode/compare/v0.5.9...v0.6.0

- Python
Published by astropenguin over 4 years ago

decode - Update release

This release closes #15.

  • Fix wrong version of pyyaml (^3.13^5.3) in pyproject.toml
    • Also update poetry.lock
  • Update version numbers (0.5.8 → 0.5.9) written in:
    • pyproject.toml
    • decode/__init__.py
    • docs/conf.py
    • tests/test_metadata.py

- Python
Published by astropenguin over 5 years ago

decode - Update release

This release closes #13.

  • Update Python requirements (>=3.6.1 → >= 3.6)
    • Also update poetry.lock
  • Update version numbers (0.5.7 → 0.5.8) written in:
    • pyproject.toml
    • decode/init.py
    • docs/conf.py
    • tests/test_metadata.py

- Python
Published by astropenguin over 5 years ago

decode - Update release

This release closes the following issues.

  • Format codes #9
    • Format codes by Black
    • Check grammar by Flake8
    • Remove codes that cause errors
    • unused variables
    • undefined variables
    • wrong spelling
  • Release v0.5.7 #11
    • Update version numbers written in:
    • pyproject.toml
    • decode/init.py
    • docs/conf.py
    • tests/test_metadata.py

- Python
Published by astropenguin over 5 years ago

decode - Refactoring release

This release closes the following issues.

  • Release v0.5.6 #7
    • Use Poetry for package management
    • Use GitHub Actions for testing and publishing package
    • Update version numbers written in Python scripts

- Python
Published by astropenguin over 5 years ago

decode - Update release

  • Remove joke functions
  • Use Travis CI to do auto testing and docs building
  • Docs are now hosted in the gh-pages branch

- Python
Published by astropenguin over 6 years ago

decode - Bug fix and update of plot functions

  • plot_chmap now returns mappable and does not plot colorbar inside it
  • Delete default styles of xlabel, ylabel, and title of plot functions
  • Fix plot_timestream (before that an error occurs when plotting)

- Python
Published by astropenguin over 7 years ago

decode - v0.5

Removed

  • dc.models.skewgauss()
  • dc.models.r_subtraction()
  • dc.models.savgol_filter()
  • dc.models.rsky_calibration()
  • dc.plot.plotweather()

Implemented

  • dc.models.gauss_fit() made by Koyo
  • dc.fromcube() made by Akio
  • dc.plot.plot_chmap() made by Tsuyoshi

Updated

  • plotcoords() => plot_tcoords() (backward compatibility has been held)
  • plottimestream() => plot_timestream() (backward compatibility has been lost)
  • plotspectrum() => plot_spectrum() (backward compatibility has been held)
  • savefits()
    • casaviewer has been supported
    • still should be upgraded

Miscellaneous

  • implemented deprecation_warning decorator
  • changed some of the internal structures
  • made the logger fucntions a standard way

- Python
Published by Hoshock over 7 years ago

decode - v0.4.3

- Python
Published by Hoshock over 7 years ago

decode -

This release fixed the following bugs:

  1. creation of default scantype
  2. invalid function name

- Python
Published by astropenguin about 8 years ago

decode -

array function

dc.concat

  • [Bug Fixed] xref and yref of the concatenated array is adjusted to the 1st array.

i/o function

dc.io.loaddfits

  • A new keyword of shuttle is implemented for shuttle observations. When this is True, x coordinates of off-point and on-point are specified via keywords of xmin_off, xmax_off, xmin_on, and xmax_on.

model funtion

  • Calculation speed gets much faster! ## dc.models.chopper_calibration
  • A new calibration method has been implemented. This can be used in the same way as dc.models.rskycalibration. ```python dc.models.choppercalibration(onarray, offarray, rarray, Tamb, mode='mean') ```

- Python
Published by Hoshock over 8 years ago

decode -

plot function

dc.plot.plotpsd

  • PSD plot. python plotpsd(data, dt, ndivide=1, window=hanning, overlap_half=False, ax=None, **kwargs)

dc.plot.allanvar

  • Allan variance plot. python plotallanvar(data, dt, tmax=10, ax=None, **kwargs)

cube function

dc.makecontinuum

  • Values of channel coordinates of the continuum (masterid, kidid, kidtp, and kidfq) have been changed.

dc.savefits

  • [Bug Fixed] The header for the az/el data has been corrected.

i/o function

dc.io.loaddfits

  • A kwargs of findR has been implemented. When this is True, loaddfits will automatically find R positions according to some user-defined parameters. Rth is the threshold above which data will be categorized as R, and skyth is the threshold below which data will be categorized as SKY. This calculation depends on one representative channel, which specified via a keyword of ch. cutnum determines the number of data points which will be not used at the edges.
  • A kwargs of still has been implemented. When this is True, loaddfits will change scantypes to SCAN and OFF. The cycle is specified via a keyword of period.

model function

dc.models.pca

  • [Bug Fixed] [IMPORTANT] The implementation of PCA had problems, but the bugs are removed.
  • None can be used as mode.

dc.models.r_subtraction

  • Apply R-subtraction. python dc.models.r_subtraction(onarray, offarray, rarray, mode='mean')

dc.models.r_division

  • Apply R-subtraction. python dc.models.r_division(onarray, offarray, rarray, mode='mean')

utils

dc.utils.psd

  • Calculate PSD. python dc.utils.psd(data, dt, ndivide=1, window=hanning, overlap_half=False)

dc.utils.allan_variance

  • Calculate Allan variance. python allan_variance(data, dt, tmax=10)

- Python
Published by Hoshock over 8 years ago

decode -

plot function

dc.plotspectrum

  • [Backward Compatibility Lost] A keyword of peak for ytick is replaced to max.
  • You can specify mean for ytick now.

cube function

dc.tocube

  • You can specify the unit of arguments via a keyword of unit. The default is deg. python ### arcsecond dc.tocube(array, gx=10, gy=10, unit='arcsec') ### arcminute dc.tocube(array, gx=0.1, gy=0.1, unit='arcmin')
  • The default value of xc and yc is changed to the value of xref and yref in the cube.
  • [Bug Fixed] After converted from array, coordsys, xref, and yref in the cube are correctly inherited.

dc.makecontinuum

  • [Backward Compatibility Lost] Previously, this function has returned a xarray whose shape is x/y. For now, the returned xarray has the shape of x/y/ch, but the length of ch is only 1.

i/o function

dc.io.savefits

  • Some header information is added to output FITS files, but some of them have just default values.
  • When the length of ch is 1, i.e. for the continuum data, you can choose whether the resulting dimensions are x/y or x/y/ch via a keyword of dropdeg. This is the same implementation as CASA.
  • Resulting FITS file can be loaded in CASA for now.

- Python
Published by Hoshock over 8 years ago

decode -

cube function

dc.tocube

  • [Bug Fixed] Direction of right ascention in 3D cubes is corrected.
  • Noise map information is included to cubes. It can be accessed by cube.noise. When you want a noise map, you just need to run dc.io.savefits(cube.noise, fitsname).

- Python
Published by Hoshock over 8 years ago

decode -

plot function

dc.plot.timestream

  • you can select the type of x axis via a keyword of xtick. python # real time dc.plot.plottimestream(array, ax, xtick='time', **kwargs) # time index dc.plot.plottimestream(array, ax, xtick='index', **kwargs)

i/o function

dc.io.loaddfits

  • you have more choices for loadtype, such as amplitude, phase, and linphase.

- Python
Published by Hoshock over 8 years ago

decode -

plot functions

dc.plot.plotcoords

  • you can pass keyword arguments common with ax.plot(). python dc.plot.plotcoords(array, ax, coords, scantypes=None, **kwargs) ## dc.plot.plotweather
  • you can pass keyword arguments common with ax.plot(). python dc.plot.plotweather(array, axs, **kwargs)

cube functions

dc.makecontinuum

  • [Backward Compatibility Lost] a keyword argument of kidtp is no longer supported, and a new keyword inchs is currently supported. ```python ### As a default, all channels are integrated. dc.makecontinuum(cube)

When you specify inchs, only the channels in inchs are integrated.

dc.makecontinuum(cube, inchs=[20, 21, 22])

When you specify exchs, all channels except exchs are integrated.

dc.makecontinuum(cube, exchs=[16, 44, 46]) ```

i/o functions

dc.io.loaddfits

  • When you specify scantypes, returned array is changed to concatenated one.

model functions

dc.models.pca

  • [Backward Compatibility Lost] Default value of pc is changed to False.
  • A new keyword argument mode is supported. You can select mean or median as this. This determines how to correct the offsets of data. python dc.models.pca(onarray, offarray, n=10, exchs=None, pc=False, mode='mean`) ## dc.models.rsky_calibration
  • A function for classical R-sky calibration is implemented. python dc.models.rsky_calibration(onarray, offarray, rarray, Tamb, mode='mean') # misc functions ## dc.utils.slicewhere
  • A fucntion for returning slices of regions that match some conditions. python dc.utils.slicewhere(condition)

- Python
Published by Hoshock over 8 years ago

decode -

- Python
Published by Hoshock over 8 years ago

decode -

- Python
Published by Hoshock over 8 years ago

decode -

- Python
Published by Hoshock over 8 years ago

decode -

- Python
Published by Hoshock over 8 years ago

decode -

- Python
Published by Hoshock over 8 years ago

decode -

- Python
Published by Hoshock over 8 years ago

decode -

- Python
Published by Hoshock over 8 years ago

decode -

- Python
Published by Hoshock over 8 years ago

decode -

- Python
Published by Hoshock over 8 years ago

decode -

- Python
Published by Hoshock over 8 years ago

decode -

- Python
Published by Hoshock over 8 years ago

decode -

- Python
Published by Hoshock over 8 years ago

decode -

- Python
Published by Hoshock over 8 years ago

decode -

- Python
Published by astropenguin over 8 years ago

decode -

- Python
Published by Hoshock over 8 years ago

decode -

- Python
Published by astropenguin over 8 years ago