Skip to content

v0.3.4

Pre-release
Pre-release
Compare
Choose a tag to compare
@Hoshock Hoshock released this 13 Nov 04:49

plot functions

dc.plot.plotcoords

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

dc.plot.plotweather

  • you can pass keyword arguments common with ax.plot().
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.
### 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.
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.
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.
dc.utils.slicewhere(condition)