@@ -162,7 +162,7 @@ def __init__(self, k_edges, num_ells=3):
162
162
self .num_ells = num_ells
163
163
self .k_min = self .k_edges .min ()
164
164
self .k_max = self .k_edges .max ()
165
- self .data_ells = np .arange (0 , 2 * num_ells , 2 )
165
+ self .data_multipoles = np .arange (0 , 2 * num_ells , 2 )
166
166
167
167
self .rp_binsize = 1e-100
168
168
self .rt_binsize = 1e-100
@@ -183,16 +183,17 @@ def get_mask_scale_cuts(self, cuts_config):
183
183
# Read the cuts
184
184
k_min_cut = cuts_config .getfloat ('k-min' , 0. )
185
185
k_max_cut = cuts_config .getfloat ('k-max' , 0.2 )
186
- self .model_ells = np .array (cuts_config .get ('use_multipoles' , '0,2,4' ).split (',' )).astype (int )
186
+ self .model_multipoles = np .array (
187
+ cuts_config .get ('use_multipoles' , '0,2,4' ).split (',' )).astype (int )
187
188
188
- for ell in self .model_ells :
189
- if ell not in self .data_ells :
189
+ for ell in self .model_multipoles :
190
+ if ell not in self .model_multipoles :
190
191
raise ValueError (
191
- f'Invalid multipole in cuts. Valid multipoles are { self .data_ells } ' )
192
+ f'Invalid multipole in cuts. Valid multipoles are { self .data_multipoles } ' )
192
193
193
194
mask = np .full ((self .num_bins , self .num_ells ), True , dtype = bool )
194
- for i , ell in enumerate (self .data_ells ):
195
- mask [:, i ] = (ell in self .model_ells ) \
195
+ for i , ell in enumerate (self .data_multipoles ):
196
+ mask [:, i ] = (ell in self .model_multipoles ) \
196
197
& (self .k_centers > k_min_cut ) \
197
198
& (self .k_centers < k_max_cut )
198
199
0 commit comments