Mordicus.Modules.Safran.DataCompressors.FusedSnapshotPOD module¶
- Mordicus.Modules.Safran.DataCompressors.FusedSnapshotPOD.CompressData(collectionProblemData, solutionName, tolerance=None, snapshotCorrelationOperator=None, snapshots=None, compressSolutions=False, nbModes=None)[source]¶
Computes a reducedOrderBasis using the SnapshotPOD algorithm, from the snapshots contained in the solutions of name “solutionName” from all problemDatas in collectionProblemData, with tolerance as target accuracy of the data compression
- Parameters
collectionProblemData (CollectionProblemData) – input collectionProblemData containing the data
solutionName (str) – name of the solutions from which snapshots are taken
tolerance (float) – target accuracy of the data compression
compressSolutions (bool) – decides if solutions may be compressed using the constructed reducedOrderBasis
- Returns
of size (numberOfModes, numberOfDOFs)
- Return type
np.ndarray