Skip to content

Commit 6cca72d

Browse files
authored
Merge pull request #1296 from DavidT3/bug/massConvenienceFuncBrokenWithNewProfile
Fixed mass convenience function so that it defines the hydrostatic ma…
2 parents 6c6544a + 743f6d8 commit 6cca72d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xga/sourcetools/mass.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This code is a part of X-ray: Generate and Analyse (XGA), a module designed for the XMM Cluster Survey (XCS).
2-
# Last modified by David J Turner (turne540@msu.edu) 30/07/2024, 17:14. Copyright (c) The Contributors
2+
# Last modified by David J Turner (turne540@msu.edu) 17/01/2025, 15:42. Copyright (c) The Contributors
33

44
from typing import Union, List
55
from warnings import warn
@@ -147,7 +147,7 @@ def inv_abel_dens_onion_temp(sources: Union[GalaxyCluster, ClusterSample], outer
147147
rads = t_prof.radii.copy()[1:]
148148
rad_errs = t_prof.radii_err.copy()[1:]
149149
deg_rads = src.convert_radius(rads, 'deg')
150-
hy_mass = HydrostaticMass(t_prof, t_model, d_prof, d_model, rads, rad_errs, deg_rads, fit_method,
150+
hy_mass = HydrostaticMass(t_prof, d_prof, t_model, d_model, rads, rad_errs, deg_rads, fit_method,
151151
num_walkers, num_steps, show_warn=show_warn, progress=False,
152152
auto_save=True)
153153
# Add the profile to the source storage structure

0 commit comments

Comments
 (0)