SVD mode printed if verbose=1 or True
@@ -169,7 +169,8 @@ def pca_annular(cube, angle_list, cube_ref=None, scale_list=None, radius_int=0,
Whether to return the final median combined image only or with other
intermediate arrays.
verbose : bool, optional
- If True prints to stdout intermediate info.
+ If True prints to stdout intermediate info. If set to 2, the number of
+ frames in library and number of PCs are printed for each annular quadrant.
weights: 1d numpy array or list, optional
Weights to be applied for a weighted mean. Need to be provided if
collapse mode is 'wmean'.
@@ -463,7 +464,7 @@ def _pca_adi_rdi(cube, angle_list, radius_int=0, fwhm=4, asize=2, n_segments=1,
label='\tLIBsize: ')
descriptive_stats(ncomps, verbose=verbose, label='\tNum PCs: ')
- if verbose == 2:
+ if verbose == 1:
print('Done PCA with {} for current annulus'.format(svd_mode))
timing(start_time)
