Decode

Latest version: v2.11.0

Safety actively analyzes 626513 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 9

0.3.4

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)

0.3.3

0.3.2

0.3.1

0.3

0.2.10

Page 7 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.