Releases: Cosmoglobe/zodipy
v.1.1.0
This is a minor release with one new feature:
- The
grid_number_density
function now accepts amodel
argument (replaces the oldname
argument) which can be either a string representing a built-in/registered zodiacal light model, or a custom or explicitZodiacalLightModel
.
What's Changed
New Contributors
Full Changelog: v.1.0.0...v.1.1.0
v1.0.0
This release features a major rewrite of the ZodiPy API following the integration of ZodiPy to the Astropy ecosystem. See the usage documentation for an overview of how to use ZodiPy with the new API.
What's Changed
- Renamed
zodipy.Zodipy
tozodipy.Model
. - Removed all previous
get_*_emission
methods which are all replaced by theevaluate
method, which takes in aastropy.coordinates.SkyCoord
object. All user input (with the exception ofobspos
) is now directly provided through theSkyCoord
object. - Support for per coordinate
obstime
andobspos
values, for more accurate simulations. This also removes the need to manually chunk time-ordered data and re-evaluate ZodiPy. Now, a single call to theModel.evaluate
method can compute the entire zodiacal light for a full instrument timestream.
Full Changelog: v.0.9.2...v.1.0.0
v.0.9.2
v.0.9.1
v.0.9.0
v.0.8.6
[0.8.6] - 2024-03-21
Deprecated
Deprecated the keyword parallel
used when initializing a Zodipy
model. Instead, wether or not ZodiPy will parallelize the line-of-sight integrals is inferred from n_proc
, where n_proc=1
, which is the default value, means no parallelization.
Example
import zodipy
# no parallelization
model = zodipy.Zodipy()
# parallelization over 10 cores
model = zodipy.Zodipy(n_proc=10)
v.0.8.5
Add new argument `interp_kind` to the initialization of `Zodipy`.
[0.8.4] - 2023-02-06
New
Previously only linear interpolation was performed for the relevant source and spectral parameters in the interplanetary dust models. Now the user may select between the various supported methods for Scipy's interp1d.
Example of how to use the new feature:
import zodipy
model = zodipy.Zodipy("Planck2018", interp_kind="quadratic")
Fix bug with spectral parameter interpolation
[0.8.3] - 2023-01-11
Fixed
- Fix a bug introduced in 0.8.1 that got through the previous release unspotted which resulted in spectral parameters being interpolated in wrong units.
Fix bug with bandpasses in Hz
[0.8.2] - 2023-01-11
Fixed
- Fixed a bug that appeared in 0.8.0 where bandpasses in GHz were evaluated in units of GHz instead of Hz in the Planck function.