Is your feature request related to a problem? Please describe.
Although complex data is accepted as input for xeofs models, not all models and methods (e.g. inverse_transform) work properly in this case.
Describe the solution you'd like
Complex input data can be decomposed into complex scores and components. Reconstructing data via inverse_transform results in the original complex data.
Describe alternatives you've considered
-NA-
Additional context
See use case in #149 .
To Do
[x] inverse_transform does not enforce real output
[x] restrict output to be real only for Complex EOF analysis
[x] create data type checks for the other models as well
Is your feature request related to a problem? Please describe. Although complex data is accepted as input for
xeofs
models, not all models and methods (e.g.inverse_transform
) work properly in this case.Describe the solution you'd like Complex input data can be decomposed into complex scores and components. Reconstructing data via
inverse_transform
results in the original complex data.Describe alternatives you've considered -NA-
Additional context See use case in #149 .
To Do
inverse_transform
does not enforce real output