ana3AIMEC.aimecTools.analyzeField¶
- analyzeField(simRowHash, rasterTransfo, transformedRaster, dataType, resAnalysisDF)[source]¶
analyze transformed field
analyze transformed raster: compute the Max and Mean values in each cross section as well as the overall maximum
- Parameters
simRowHash (str) – simulation dataframe hash
rasterTransfo (dict) – transformation information
transformedRaster (2D numpy array) – raster after transformation
dataType (str) – type of the data to analyze (‘ppr’, ‘pft’, ‘pfv’, …)
resAnalysisDF (dataFrame) – result dataFrame to be updated
- Returns
- -maxaCrossMax: float
overall maximum
- -aCrossMax: 1D numpy array
containing the max of the field in each cross section
- -aCrossMean: 1D numpy array
containing the mean of the field in each cross section
- Return type
Updates the resAnalysisDF input dataFrame with