What’s new in Hyperion 1.0#
Hyperion 1.0 is the first release since 0.9.11 (April 2024), and includes improvements to performance, a number of new features, many bug fixes, and updates to the documentation. This page summarizes the main changes: for the full list, see the changelog.
Performance#
When compiled with gfortran, the Fortran code is now optimized by default
(with -O2 and link-time optimization), whereas previous versions were not
optimized unless optimization flags were explicitly passed when compiling.
There are also several new options that can make computing images and SEDs
for very optically thick models much faster: the optical depth to the observer
for peeled photons can be limited (see
set_max_peeloff_optical_depth()), the minimum
column density for photons to escape each cell can be computed (see
set_compute_escape_column_density()), and in
Monochromatic radiative transfer, dust emission from cells that photons cannot escape
from can be skipped, and the emission can be sampled across cells in a way
that reduces the noise when the flux is dominated by faint cells (see the
emission_max_escape_optical_depth and emission_sampling_exponent
arguments of set_monochromatic()).
New features#
The spectrum of the energy absorbed in each cell, from which the radiation field in each cell can be derived, can now be computed and written out in addition to the total specific energy (see Radiative transfer settings). Thanks to Desika Narayanan for providing this new feature.
Voronoi grids can now be bounded by a spherical wall, so that the cells of models that fill a sphere do not extend into the corners of the rectangular domain (see Setting up a model on a Voronoi grid).
Hyperion now also checks that the wavelength ranges of SEDs and images are covered by the dust properties, includes the names of filters in SED and image objects, and makes use of the standard Python logging module (see Filtering logging messages in Python scripts).
Dust models#
The library of dust models is now available as the hyperion-dust package, which can be
installed with pip install hyperion-dust, instead of having to download the
dust files separately (see Library of dust models). Dust objects from this
package can be passed directly to Hyperion when setting up models.
Documentation#
The documentation includes new tutorials on setting up a model on a Voronoi grid and computing vertical hydrostatic equilibrium in disks, a troubleshooting page describing known problems when running Hyperion, an example of launching the MPI code on clusters that use SLURM, and updated documentation for importing datasets from yt.
Bug fixes and compatibility#
This release includes many bug fixes, some of which affect results in specific situations (for example in parallel runs with many MPI processes), so we recommend that all users upgrade. See the changelog for details.
Hyperion 1.0 requires Python 3.11 or later, and can be built against HDF5 2.