Preprocessing¶
Prepare raw logs before interpretation. By default pp.interpret standardizes curves and screens value ranges itself; the functions here let you run and inspect each step.
Standardization¶
petrophys.preprocessing.standardization
Standard curve mnemonics and units, from vendor aliases and log units.
Standardize all curves in a well. |
|
Add canonical working aliases without removing vendor mnemonics. |
|
Get the standard mnemonic for a curve alias. |
|
Standardizes curve mnemonics and units. |
Standardization reference · 11 functions · 1 class · 1 constant
Quality control¶
petrophys.preprocessing.quality
Quality checks and borehole-condition diagnostics.
Generate all bad hole flags for a well. |
|
Generate washout flag based on caliper and density correction. |
|
Generate large hole flag. |
|
Generate low density flag. |
Quality control reference · 16 functions · 5 classes · 2 constants
Normalization¶
petrophys.preprocessing.normalization
Normalize logs across wells: linear rescaling, histogram matching and equalization.
Convenience function for log normalization. |
|
Apply linear normalization to data. |
|
Match histogram of source to reference distribution. |
|
Apply histogram equalization to enhance contrast. |
|
Log normalization for multi-well consistency. |
Normalization reference · 4 functions · 1 class
Curve imputation¶
petrophys.preprocessing.imputation
Fill missing curve samples with a model trained on the fly.
Reconstruct the missing samples of a curve. |
Curve imputation reference · 1 function