88from autoarray .inversion .regularization .abstract import AbstractRegularization
99
1010
11- def adaptive_regularization_weights_from (
11+ def adapt_regularization_weights_from (
1212 inner_coefficient : float , outer_coefficient : float , pixel_signals : np .ndarray
1313) -> np .ndarray :
1414 """
15- Returns the regularization weights for the adaptive regularization scheme (e.g. ``AdaptiveBrightness ``).
15+ Returns the regularization weights for the adaptive regularization scheme (e.g. ``Adapt ``).
1616
1717 The weights define the effective regularization coefficient of every mesh parameter (typically pixels
1818 of a ``Mapper``).
@@ -53,10 +53,10 @@ def weighted_regularization_matrix_from(
5353 xp = np ,
5454) -> np .ndarray :
5555 """
56- Returns the regularization matrix of the adaptive regularization scheme (e.g. ``AdaptiveBrightness ``).
56+ Returns the regularization matrix of the adaptive regularization scheme (e.g. ``Adapt ``).
5757
5858 This matrix is computed using the regularization weights of every mesh pixel, which are computed using the
59- function ``adaptive_regularization_weights_from ``. These act as the effective regularization coefficients of
59+ function ``adapt_regularization_weights_from ``. These act as the effective regularization coefficients of
6060 every mesh pixel.
6161
6262 The regularization matrix is computed using the pixel-neighbors array, which is setup using the appropriate
@@ -128,7 +128,7 @@ def weighted_regularization_matrix_from(
128128 return mat [:S , :S ]
129129
130130
131- class AdaptiveBrightness (AbstractRegularization ):
131+ class Adapt (AbstractRegularization ):
132132 def __init__ (
133133 self ,
134134 inner_coefficient : float = 1.0 ,
@@ -196,7 +196,7 @@ def regularization_weights_from(self, linear_obj: LinearObj, xp=np) -> np.ndarra
196196 (e.g. the ``pixels`` in a ``Mapper``).
197197
198198 For standard regularization (e.g. ``Constant``) are weights are equal, however for adaptive schemes
199- (e.g. ``AdaptiveBrightness ``) they vary to adapt to the data being reconstructed.
199+ (e.g. ``Adapt ``) they vary to adapt to the data being reconstructed.
200200
201201 Parameters
202202 ----------
@@ -211,7 +211,7 @@ def regularization_weights_from(self, linear_obj: LinearObj, xp=np) -> np.ndarra
211211 signal_scale = self .signal_scale , xp = xp
212212 )
213213
214- return adaptive_regularization_weights_from (
214+ return adapt_regularization_weights_from (
215215 inner_coefficient = self .inner_coefficient ,
216216 outer_coefficient = self .outer_coefficient ,
217217 pixel_signals = pixel_signals ,
0 commit comments