Skip to content

PCA buildCovariance and app do not superpose well for projections #2024

@yasirkhanqu

Description

@yasirkhanqu

The prody pca app uses DCDFile when the number of frames > 1000 (

if len(dcd) > 1000:
) and uses the aligned kwarg of buildCovariance to control whether the trajectory frames should be superposed (
frame.superpose()
).

This works for updating the frames themselves outside the DCDFile trajectory object, giving the right PCA, but does not update the DCDFile coordinates, so the projections are wrong from this DCDFile.

One should find a way to update the DCDFile or extract the frame coordinates into a new array, perhaps as an attribute of the PCA object, which can be used for the projections.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions