Skip to content

Commit

Permalink
Fixed some typos in ThermalPressure profile.
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidT3 committed Nov 22, 2024
1 parent cd27938 commit 5df214f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xga/products/profile.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This code is a part of X-ray: Generate and Analyse (XGA), a module designed for the XMM Cluster Survey (XCS).
# Last modified by David J Turner (turne540@msu.edu) 22/11/2024, 10:18. Copyright (c) The Contributors
# Last modified by David J Turner (turne540@msu.edu) 22/11/2024, 11:19. Copyright (c) The Contributors

from copy import copy
from typing import Tuple, Union, List
Expand Down Expand Up @@ -3429,7 +3429,7 @@ def pressure(self, radius: Quantity, conf_level: float = 68.2) -> Union[Quantity
if not self.density_model.success:
raise XGAFitError("The density model fit was not successful, as such we cannot calculate entropy "
"using a smooth density model.")
# Getting a bunch of realisations (with the number set by the 'num_samples' argument that was passed on
# Getting a bunch of realizations (with the number set by the 'num_samples' argument that was passed on
# the definition of this source of the model.
dens = self._dens_model.get_realisations(radius)

Expand Down

0 comments on commit 5df214f

Please sign in to comment.