Skip to content

Commit cf45c01

Browse files
committed
Compute cascade level statistics by default
1 parent a7eefad commit cf45c01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pysteps/cascade/decomposition.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def decomposition_fft(field, bp_filter, **kwargs):
9898
normalize : bool
9999
If True, normalize the cascade levels to zero mean and unit variance.
100100
Requires that compute_stats is True. Implies that compute_stats is True.
101-
Defaults to False.
101+
Defaults to True.
102102
mask : array_like
103103
Optional mask to use for computing the statistics for the cascade
104104
levels. Pixels with mask==False are excluded from the computations.
@@ -134,7 +134,7 @@ def decomposition_fft(field, bp_filter, **kwargs):
134134
mask = kwargs.get("mask", None)
135135
input_domain = kwargs.get("input_domain", "spatial")
136136
output_domain = kwargs.get("output_domain", "spatial")
137-
compute_stats = kwargs.get("compute_stats", False)
137+
compute_stats = kwargs.get("compute_stats", True)
138138
compact_output = kwargs.get("compact_output", False)
139139

140140
if normalize and not compute_stats:

0 commit comments

Comments
 (0)