The yt community is proud to announce the release of yt 3.4.0. This is a major release and includes a number of new features, minor improvements, and bugfixes.
yt (http://yt-project.org) is an open source, community developed toolkit for the analysis and visualization of volumetric data.
Since our last major release we have moved code hosting to GitHub. If you are interested in contributing to yt, please see our new home at http://github.com/yt-project/yt.
In addition, we have merged 450 pull requests from 44 contributors, including 19 new contributors:
The bolded names indicate first-time contributors. We extend our sincere gratitude to everyone who has contributed!
See the changelog below for a summary of new features, changes, and bugfixes.
For more information, including installation instructions, links to community resources, and information on contributing to yt’s development, please see the yt homepage at http://yt-project.org and the documentation for yt 3.4.0 at http://yt-project.org/docs/3.4.0.
Binaries for yt 3.4.0 are available via pip
and conda
. If you installed via the install script or use conda
to manage your python installation, you can update yt via:
$ conda update -c conda-forge yt
And via pip
if you manage your python installation with pip
:
$ pip install -U yt
As always, if you have any questions, concerns, or run into any trouble updating please don’t hesitate to send a message to the mailing list or stop by our Slack or IRC channel.
yt is the product of a large community of developers and users and we are extraordinarily grateful for and proud of their contributions. Please forward this announcement on to any interested parties.
Best,
The yt development team
yt.toggle_interactivity()
. This is currently supported at an experimental level, please let us know if you come across issues using it. See Bitbucket PR 2294.~/.config/yt/ytrc
) rather than the old default location (usually ~/.yt/config
). You can use yt config migrate
at the bash command line to migrate your configuration file to the new location. See Bitbucket PR 2343.yt.LinePlot
, a new plotting class for creating 1D plots along lines through a dataset. See Github PR 1509 and Github PR 1440.yt.define_unit
to easily define new units in yt’s unit system. See Bitbucket PR 2485.yt.plot_2d
, a wrapper around SlicePlot for plotting 2D datasets. See Github PR 1476.fields
attribute that allows access to fields via a python object. For example, instead of using a tuple field name like ('gas', 'density')
, one can now use ds.fields.gas.density
. See Bitbucket PR 2459.ds.r
, including rays, fixed resolution rays, points, and images. See Github PR 1518 and Github PR 1393.add_field
and ds.add_field
must now be called with a sampling_type
keyword argument. Possible values are currently cell
and particle
. We have also deprecated the particle_type
keyword argument in favor of sampling_type='cell'
. For now a 'cell'
sampling_type
is assumed if sampling_type
is not specified but in the future sampling_type
will always need to be specified.Athena++
code. See Bitbucket PR 2149.Enzo-p
code. See Github PR 1447, Github PR 1443 and Github PR 1439.AMReX
code. See Bitbucket PR 2530.openPMD
output format. See Bitbucket PR 2376.DatasetSeries
object. You can now create a ParticleTrajectories
object using ts.particle_trajectories()
where ts
is a time series of datasets.spectral_integrator
analysis module is now available via yt.fields.xray_emission_fields
. See Bitbucket PR 2465.photon_simulator
analysis module has been deprecated in favor of the pyXSIM
package, available separately from yt
. See Bitbucket PR 2441.yt.utilities.fits_image
is now available as yt.visualization.fits_image
. In addition classes that were in the yt.utilities.fits_image
namespace are now available in the main yt
namespace.profile.variance
attribute has been deprecated in favor of profile.standard_deviation
.number_of_particles
key no longer needs to be defined when loading data via the stream frontend. See Github PR 1428.plot.set_background_color
for PlotWindow
and PhasePlot
plots. This lets users specify a color to fill in the background of a plot instead of the default color, white. See Bitbucket PR 2513.PlotWindow
plots can now optionally use a right-handed coordinate system. See Bitbucket PR 2318.Dataset
instances now have a checksum
property, which can be accessed via ds.checksum
. This provides a unique identifier that is guaranteed to be the same from session to session. See Bitbucket PR 2503.data_source
keyword argument to OffAxisProjectionPlot
. See Bitbucket PR 2490.yt download
command-line helper to download test data from http://yt-project.org/data. For more information see yt download --help
at the bash command line. See Bitbucket PR 2495 and Bitbucket PR 2471.yt upload
command-line helper to upload files to the yt curldrop at the bash command line. See Github PR 1471.Cosmology
object. See Bitbucket PR 2572.ParticleProfile
can now handle log-scaled bins and data with negative values. See Bitbucket PR 2564 and Github PR 1510.save_as_dataset
. See Bitbucket PR 2541.save_as_dataset
. See Bitbucket PR 2326.annotate_halos
plot modifying function. See Bitbucket PR 2493.ds.max_level
attribute is now a property that is computed on demand. The more verbose ds.index.max_level
will continue to work. See Bitbucket PR 2461.PointSource
volume rendering source now optionally accepts a radius
keyword argument to draw spatially extended points. See Bitbucket PR 2404.force_override
keyword argument now raises an error when used with on-disk fields. See Github PR 1516.'Dark_Matter_Density'
field. See Github PR 1360.'particle_ones'
field even if we don’t have a particle mass field. See Github PR 1424.load_amr_grids
. See Github PR 1408.annotate_halos
plot modifying function. See Github PR 1351.annotate_scale
plot modifying function. See Bitbucket PR 2551.particle_radius
field is always accessed with the correct field type. See Bitbucket PR 2562.ProfilePlot
will now snap exactly to the limits specified in calls to ProfilePlot.set_xlim
. See Bitbucket PR 2546.yt.utilities.spatial
. This was a forked version of scipy.spatial
with support for a periodic KD-tree. Scipy now has a periodic KD-tree, so we have removed the forked version from yt. Please use scipy.spatial
if you were relying on yt.utilities.spatial
. See Bitbucket PR 2576.HaloCatalog
. See Bitbucket PR 2536 and Bitbucket PR 2535.'log'
in colorbar label in annotated volume rendering. See Bitbucket PR 2548cell_volume
field in curvilinear coordinates now uses an exact rather than an approximate definition. See Bitbucket PR 2466.