Correlation_GLR_test¶
-
muse_origin.Correlation_GLR_test(cube, fsf, weights, profiles, nthreads=1, pcut=None, pmeansub=True)[source]¶ Compute the cube of GLR test values with the given PSF and dictionary of spectral profiles.
- Parameters
- cube
array data cube
- fsf
listofarrays FSF for each field of this data cube
- weights
listofarray Weight maps of each field
- profiles
listofndarray Dictionary of spectral profiles to test
- nthreads
int number of threads
- pcut
float Cut applied to the profiles to limit their width
- pmeansubbool
Subtract the mean of the profiles
- cube
- Returns
- correl
array cube of T_GLR values of maximum correlation
- profile
array Number of the profile associated to the T_GLR
- correl_min
array cube of T_GLR values of minimum correlation
- correl