Skip to content

Commit 9c413fc

Browse files
committed
Changed 'core_radius_fraction' to 0 by default (#1413)
Signed-off-by: rz-wang <rzwang@umich.edu>
1 parent e1a62a0 commit 9c413fc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

xga/products/relation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def __init__(self, fit_pars: np.ndarray, fit_par_errs: np.ndarray, model_func, x
101101
scatter_par: np.ndarray = None, scatter_chain: np.ndarray = None, model_colour: str = None,
102102
point_names: Union[np.ndarray, list] = None, third_dim_info: Union[np.ndarray, Quantity] = None,
103103
third_dim_name: str = None, x_en_bounds: Quantity = None, y_en_bounds: Quantity = None,
104-
core_excised: bool = False, core_radius_fraction: float = None, outer_aperture: Union[str, Quantity] = None):
104+
core_excised: bool = False, core_radius_fraction: float = 0, outer_aperture: Union[str, Quantity] = None):
105105
"""
106106
The init for the ScalingRelation class, all information necessary to enable the different functions of
107107
this class will be supplied by the user here.

xga/tools/clusters/LT.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def luminosity_temperature_pipeline(sample_data: pd.DataFrame, start_aperture: Q
2727
peak_find_method: str = "hierarchical", convergence_frac: float = 0.1,
2828
min_iter: int = 3, max_iter: int = 10, rad_temp_rel: ScalingRelation = arnaud_r500,
2929
lum_en: Quantity = Quantity([[0.5, 2.0], [0.01, 100.0]], "keV"),
30-
core_excised: bool = False, core_radius_fraction: float = None,
30+
core_excised: bool = False, core_radius_fraction: float = 0,
3131
outer_aperture: Union[str, Quantity] = None,
3232
freeze_nh: bool = True, freeze_met: bool = True, freeze_temp: bool = False,
3333
start_temp: Quantity = Quantity(3.0, 'keV'),

0 commit comments

Comments
 (0)