genericROM.BasicAlgorithms.GappyPOD module
- Fit(modesAtMask, fieldAtMask)[source]
Fits GappyPOD approximation
- Parameters:
modesAtMask – np.ndarray of size (nbeModes, maskSize)
fieldAtMask (np.ndarray) – np.ndarray of size (maskSize,)
- Returns:
of size (nbeModes,)
- Return type:
np.ndarray
- FitAndCost(modesAtMask, fieldAtMask)[source]
Fits GappyPOD approximation an return prediction and cost
- Parameters:
modesAtMask – np.ndarray of size (nbeModes, maskSize)
fieldAtMask (np.ndarray) – np.ndarray of size (maskSize,)
- Returns:
np.ndarray – of size (nbeModes,)
float – evaluation of the cost function at convergence