File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
autoarray/inversion/pixelization/mappers Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -346,7 +346,7 @@ def adaptive_pixel_signals_from(
346346 pix_indexes_for_sub_slim_index : np .ndarray ,
347347 pix_size_for_sub_slim_index : np .ndarray ,
348348 slim_index_for_sub_slim_index : np .ndarray ,
349- mesh_weight_map : np .ndarray ,
349+ adapt_data : np .ndarray ,
350350 xp = np
351351) -> np .ndarray :
352352 """
@@ -373,7 +373,7 @@ def adaptive_pixel_signals_from(
373373 low signal regions.
374374 regular_to_pix
375375 A 1D array util every pixel on the grid to a pixel on the pixelization.
376- mesh_weight_map
376+ adapt_data
377377 The image of the galaxy which is used to compute the weigghted pixel signals.
378378 """
379379
@@ -395,7 +395,7 @@ def adaptive_pixel_signals_from(
395395 ) # send invalid indices to an out-of-bounds slot
396396
397397 # 4) Look up data & multiply by mapping weights:
398- flat_data_vals = xp .take (mesh_weight_map [slim_index_for_sub_slim_index ], I_sub , axis = 0 )
398+ flat_data_vals = xp .take (adapt_data [slim_index_for_sub_slim_index ], I_sub , axis = 0 )
399399 flat_contrib = flat_data_vals * flat_weights # (M_sub*B,)
400400
401401 pixel_signals = xp .zeros ((pixels + 1 ,))
You can’t perform that action at this time.
0 commit comments