Skip to content

wcorr guardrails? #114

@michael-petersen

Description

@michael-petersen

This enhancement concerns

Eigen::MatrixXd expMSSA::wCorrAll()

With ssa = pyEXP.mssa.expMSSA(config, window, npc, flags) [fill in standard arguments for a MWE], one can run wcorr = ssa.wCorrAll() before reconstruction, resulting in an identity matrix with no warning to the user.

If the user does a standard reconstruction, e.g.

pcpair = [0,1]
ssa.reconstruct(pcpair)
wcorr = ssa.wCorrAll()

the wcorr matrix will be non-identity for only the first two entries, again with no warning.

I think we probably want to place some guards: perhaps have wCorrAll to truncate the wcorr matrix to only the non-identity region? Or throw a warning if run with no reconstruction? I'm happy to do a PR when we've decided what the tactic should be. And probably more documentation.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions