Releases: kyleaoman/martini
Releases · kyleaoman/martini
v2.1.6
What's Changed
- Fix a bug in nH_g calculation for TNG. by @kyleaoman in #78
Full Changelog: v2.1.5...v2.1.6
v2.1.5
Fixed a serious bug in the EAGLESource class causing all particles to have masses too high by several orders of magnitude (but by a nearly constant factor, within a few percent).
Full Changelog: v2.1.4...v2.1.5
v2.1.4
What's Changed
- Lint docstrings by @kyleaoman in #75
- Tests for example notebooks by @kyleaoman in #76
- Add support for FIRE simulations by @kyleaoman in #69
Full Changelog: v2.1.3...v2.1.4
v2.1.3
v2.1.2
What's Changed
- Apply Hubble flow velocity offsets per-particle by @kyleaoman in #72
Full Changelog: v2.1.1...v2.1.2
v2.1.1
Full Changelog: v2.1.0...v2.1.1
v2.1.0
What's Changed
- There is a new example notebook showcasing how MARTINI can be used to add a simulated source to an existing observational data cube.
- A new initialisation method for
DataCube
objects has been added inDataCube.from_wcs
. This allows using anastropy.wcs.WCS
object (trivially created from a FITS header) to set up aDataCube
. It's now much easier to make mocks exactly matching an observed data cube (shape, pixel size, channel spacing, etc.). - The above new feature revealed some shortcoming in how MARTINI handles coordinates and, especially, how channels were implemented (switching between frequency and velocity channels, specifically). The internals have been overhauled but will behave essentially as before with default options.
- There are now options to specify a coordinate frame (using
astropy.coordinates
classes) of the source and data cube. For the data cube, the spectral reference frame (e.g. LSR or barycentric) can also be controlled. All of these default to ICRS and if left alone will behave as in earlier MARTINI versions. This finer control could be useful in workflows such as inserting a simulated source into an observed data cube. - Related to the above, some minor changes to the MARTINI API were needed. These are signposted by
DeprecationWarning
s, so attempting to use obsolete features will generate instructions on how to adapt existing code.
Full Changelog: v2.0.13...v2.1.0
v2.0.13
v2.0.12
What's Changed
- Tests and optional dependencies by @kyleaoman in #59
Full Changelog: v2.0.11...v2.0.12
v2.0.11
What's Changed
- Update docstrings for better formatting by @kyleaoman in #53
Full Changelog: v2.0.10...v2.0.11