loadFemData.py
loadFemData(path, AD = True, noiseLevel = 0., noiseType = 'displacement', denoisedDisplacements = None):
Load finite element data and add noise (optional). Note that the loaded finite element data might already be perturbed by noise. In that case, adding additional noise is not necessary.
Input Arguments
-
path
- path to finite element data -
AD
- specify if automatic differention is needed -
noiseLevel
- noise level -
noiseType
- a string list specifying whether noise should be added to displacement or strain -
denoisedDisplacements
- pass denoised displacement data if available
Output Arguments
dataset
- finite element dataset