Mordicus.Modules.Safran.DataCompressors.IncrementalSnapshotPOD module¶
- Mordicus.Modules.Safran.DataCompressors.IncrementalSnapshotPOD.CompressData(collectionProblemData, solutionName, tolerance, snapshotCorrelationOperator=None, snapshots=None, compressSolutions=False)[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