Full Changelog¶
0.9.4 (2026-01-26)¶
Restore compatibility with Numpy’s new broadcasting conventions (https://github.com/astropy/halotools/pull/1140)
0.9.3 (2025-02-10)¶
Compatibility with Numpy 2.0 (https://github.com/astropy/halotools/pull/1114)
0.9.2 (2024-12-02)¶
Compatibility with Astropy 7 (https://github.com/astropy/halotools/pull/1107)
0.9.1 (2024-09-11)¶
Repackage halotools according to pyproject.toml (https://github.com/astropy/halotools/pull/1093)
0.9.0 (2024-09-06)¶
Add models and mock observations of intrinsic alignments (https://github.com/astropy/halotools/pull/1056)
0.8.2 (2023-06-30)¶
Add non-Poissonian occupation statistics for satellites (https://github.com/astropy/halotools/pull/1053)
Fix bug in little h convention in Leauthaud+11 HOD model (https://github.com/astropy/halotools/pull/1063)
Fix bug in PBC handling of return_xyz_formatted_array convenience function (https://github.com/astropy/halotools/pull/1066)
0.8.1 (2022-09-28)¶
Include command-line scripts for halo catalog downloads that were omitted from v0.8 release
0.8 (2022-09-25)¶
Change packaging tools to pyproject.toml
Drop dependency on astropy-helpers
Add new calculator for uber_hostid quantity
Bug fix for cross-correlations with the Hamilton and Landy-Szalay estimators. See https://github.com/astropy/halotools/pull/1032
Bug fix for tpcf jackknife. See https://github.com/astropy/halotools/pull/1020
Bug fix for the central occupation function of the Zu & Mandelbaum 2016 HOD. See https://github.com/astropy/halotools/pull/1028.
Add support for non-Poissonian satellite occupation statistics. See https://github.com/astropy/halotools/pull/996
Add vector rotation utilities to halotools.utils
Add support for Conditional counts in cylinders. See https://github.com/astropy/halotools/pull/987
0.7 (2020-1-29)¶
Added new
matrix_operations_3dmodule in theutilssubpackage that contains Numpy functions related to three-dimensional rotations.Added new
inertia_tensor_per_objectfunction inmock_observablesthat calculates the inertia tensor for a set of points and masses in a periodic box.Added new option for the marked correlation functions to accommodate counting pairs of points passing a variable merger ratio criteria
Added
fuzzy_digitizefunction toutilssub-package.Added
sliding_conditional_percentilefunction toutilssub-package.Added new
resample_x_to_match_yfunction tohalotools.utils.Renamed old implementation of
conditional_abunmatchtoconditional_abunmatch_bin_basedAdded new bin-free implementation of
conditional_abunmatch.Added new utils function
bijective_distribution_matchingAdded new
load_um_binary_sfr_catalogfunction to load SFR catalogs from UniverseMachine into memoryAdded new
return_indexesfeature to conditional_abunmatch function. See https://github.com/astropy/halotools/pull/913.New function
mean_delta_sigmareplaces olddelta_sigmafunction. See #955.
0.6 (2017-12-15)¶
Changed the API for mock_observables.pair_counters.npairs_s_mu which now requires
mu_binsto be in the conventional mu=cos(theta_LOS) format instead of mu=sin(theta_LOS). See https://github.com/astropy/halotools/pull/768Added new
mock_observablesfunctionsradial_distanceandradial_distance_and_velocityfunctions. See https://github.com/astropy/halotools/pull/782Added new
distribution_matching_indicesfunction. See https://github.com/astropy/halotools/pull/795.Removed
max_sample_sizekeyword argument from allmock_observablesfunctions.Added new
weighted_npairs_s_mufunction tomock_observablessub-package. See Issue #810Added standalone function to apply redshift-space distortions. See Issue #806.
Added
num_lines_headeroptional keyword argument to TabularAsciiReaderAdded
wp_jackknifefunction. See https://github.com/astropy/halotools/pull/814.Fixed bug in the normalization of the covariance matrices in the
tpcf_jackknifefunction. See https://github.com/astropy/halotools/issues/815.Added
rp_pi_tpcf_jackknifefunction - See #822Fixed bug in estimate_ngals method for case of assembly-biased occupation models. See https://github.com/astropy/halotools/issues/801
Removed obsolete bounds_enforcing_decorator_factory function - see https://github.com/astropy/halotools/issues/756
Fixed bug impacting ability of python 3.6 users to access downsampled particle data - See Issues #821, #826, and #831.
Fixed bug in isolation criteria for calculations without PBCs. See Issue #776.
Fixed bug in
weighted_npairs_s_muwhen called in parallel. See https://github.com/astropy/halotools/issues/837.Fixed bug in
radial_profile_3dwhen called in parallel. See https://github.com/astropy/halotools/issues/854.Fixed bug in
radial_profile_3dwhen called without periodic boundary conditions. See https://github.com/astropy/halotools/issues/862Fixed bug in
velocity_marked_npairs_3dandvelocity_marked_npairs_xy_zwhen called with default arguments. See https://github.com/astropy/halotools/issues/836.Changed the
weight_func_idnumbers associated with weighting functions forvelocity_marked_npairs_3dandvelocity_marked_npairs_xy_zwhere e.g. 11 is now 1, etc.Added new
test_installationfeature that dramatically shortens the length of time users need to spend verifying their installation
0.5 (2017-05-31)¶
Added SubhaloPhaseSpace class for modeling HOD-style satellite velocities with subhalos.
The
Lboxattribute of all Halotools halo catalogs is now stored as an array of length 3 instead of a scalar.Fixed bug in multi-threaded calculations using npairs_per_object_3d function.
Added
empirical_models.abunmatchsub-package providing conditional abundance matching functionalityFixed bug in mock population when using the seed keyword, resolving Issue #672, https://github.com/astropy/halotools/issues/672.
Added
mock_observables.hod_from_mockconvenience function to calculate the HOD from a mock galaxy samplePerformance enhancements to marked correlation functions
Fixed bug in
mock_observables.pair_counters.npairs_s_muthat impactedmock_observables.s_mu_tpcfAdded Zu & Mandelbaum 2015 and Zu & Mandelbaum 2016 HOD models
Modified internals of
mock_observables.delta_sigmafunction, including an API change by removing thepi_maxargument. Additionally included newmock_observables.delta_sigma_from_precomputedfunction to compute the results from a set of pre-computed pairs. See https://github.com/astropy/halotools/pull/696.Fixed factor of 2 error in tpcf_multipole, resolving https://github.com/astropy/halotools/issues/651
Complete refactoring of the halotools/empirical_models/phase_space_models. No changes to either the API or behavior of any associated classes or functions.
Addition of two new classes
halotools.empirical_models.BiasedNFWPhaseSpaceandhalotools.empirical_models.SFRBiasedNFWPhaseSpacefor NFW satellites with biased concentrations and Jeans solutions.The
gal_typesattribute of HODModelFactory-produced models is now sorted so thatcentralsalways appears beforesatellites. This new default behavior is more common for interdependent occupation models, where satellite abundance depends upon central galaxy characteristics, rather than the other way around. See https://github.com/astropy/halotools/pull/729Added new keyword arguments to
return_xyz_formatted_arrayfunction enabling application of redshift-space distortions for galaxy samples at higher redshift. Previously, the user needed to do this manually). Default behavior of this function is unchanged, provided users had not locally modified thesim_defaultsmodule to have setdefault_redshiftgreater than zero.
0.4 (2016-08-11)¶
All models now support an optional
seedkeyword argument, allowing for deterministic Monte Carlo realizations of models. As a result of this feature, it is now mandatory that all user-defined models obey a new constraint. Any function appearing in themock_generation_calling_sequencemust now use the kwargs Python syntax to catch any additional inputs passed to these functions by the MockFactory.Added relative_positions_and_velocities function to mock_observables
Fixed little h bug in the Behroozi10SmHm class. This impacts the Leauthaud11Cens and Leauthaud11Sats classes, as well as the
leauthaud11composite model.Fixed bug in mock_observables.pair_counters.npairs_per_object_3d. See https://github.com/astropy/halotools/issues/606.
New counts_in_cells sub-package in mock_observables
HodMockFactory has new estimate_ngals feature
Fixed buggy behavior for two-point functions called for logical branch
do_auto=True, do_cross=FalsePerformance enhancement of isolation_functions by 50% - 300%, depending on numerical regime.
Updated all catalogs to version_name=``halotools_v0p4``, resolving the bug pointed out in https://github.com/astropy/halotools/issues/598.
Performance enhancement of npairs_s_mu function by 10-100x after cleaning cython engine of python objects.
0.3 (2016-06-28)¶
Removed distant_observer_redshift function from mock_survey module
Removed -march=native compiler flag to resolve installation problems on some architectures
0.2 (2016-06-09)¶
Halotools is now Python 3.x compatible
Halotools mock_observables package has been given a complete overhaul, adding many new cythonized engines and pair counters (listed below). Functions are 30% - 50x faster, depending on numerical regime. Overhauled engines include velocity_marked_npairs_3d, velocity_marked_npairs_xy_z, npairs_per_object_3d, npairs_s_mu, npairs_jackknife_3d, npairs_projected, npairs_xy_z, npairs_3d, marked_npairs_3d and marked_npairs_xy_z
Added new utils.crossmatch function
Added new mock_observables.radial_profile_3d function
All isolation_functions now return boolean
is_isolatedrather than its inversehas_neighborFixed a bug in mock_observables.delta_sigma. See https://github.com/astropy/halotools/issues/523
Fixed bug in mock_observables.tpcf_jackknife. See https://github.com/astropy/halotools/issues/513
Deleted mock_observables.nearest_neighbor function
0.1 (2016-03-13)¶
Initial release