@@ -60,7 +60,7 @@ def correlate(apr: APR,
6060 Input particle values
6161 stencil: np.ndarray
6262 Stencil or kernel to correlate with the image. Should be 3-dimensional and of type float32, otherwise
63- it is expanded, e.g. shape (3, 3) -> (1, 3, 3), and cast .
63+ it is converted and expanded, e.g. shape (3, 3) -> (1, 3, 3).
6464 output: FloatParticles, optional
6565 Particle object to which the resulting values are written. If not provided, a new object
6666 is generated (default: None)
@@ -69,8 +69,8 @@ def correlate(apr: APR,
6969 applying ``stencil`` to the reconstructed pixel image. (default: True)
7070 rescale_stencil: bool
7171 If True, the stencil is adapted to coarser resolution levels by rescaling the weights according to
72- the distance between particles. Useful for, e.g., finite difference calculations. If both `rescale_stencil`
73- and `restrict_stencil` are True, rescaling is used. (default: False)
72+ the distance between particles. Useful for, e.g., finite difference calculations. If both `` rescale_stencil` `
73+ and `` restrict_stencil` ` are True, rescaling is used. (default: False)
7474 normalize_stencil: bool
7575 If True, the stencil is normalized to sum to 1 (if ``restrict_stencil`` is True, the stencil is normalized
7676 at each resolution level. (default: True)
@@ -132,7 +132,7 @@ def convolve(apr: APR,
132132 Input particle values
133133 stencil: np.ndarray
134134 Stencil or kernel to convolve with the image. Should be 3-dimensional and of type float32, otherwise
135- it is expanded, e.g. shape (3, 3) -> (1, 3, 3), and cast .
135+ it is converted and expanded, e.g. shape (3, 3) -> (1, 3, 3).
136136 output: FloatParticles, optional
137137 Particle object to which the resulting values are written. If not provided, a new object
138138 is generated (default: None)
@@ -141,8 +141,8 @@ def convolve(apr: APR,
141141 applying ``stencil`` to the reconstructed pixel image. (default: True)
142142 rescale_stencil: bool
143143 If True, the stencil is adapted to coarser resolution levels by rescaling the weights according to
144- the distance between particles. Useful for, e.g., finite difference calculations. If both `rescale_stencil`
145- and `restrict_stencil` are True, rescaling is used. (default: False)
144+ the distance between particles. Useful for, e.g., finite difference calculations. If both `` rescale_stencil` `
145+ and `` restrict_stencil` ` are True, rescaling is used. (default: False)
146146 normalize_stencil: bool
147147 If True, the stencil is normalized to sum to 1 (if ``restrict_stencil`` is True, the stencil is normalized
148148 at each resolution level. (default: True)
0 commit comments