read_curve_aliases

petrophys.preprocessing.standardization.read_curve_aliases

read_curve_aliases(source)[source]

Read a curve-name mapping: curve name to standard name.

source is a mapping ({"GAMMA_RAY_1": "GR"}), a CSV/Excel path or a DataFrame. A table’s curve column is found under curve, mnemonic or name, its standard column under standard, maps_to or alias (case, spaces and punctuation ignored); a table of two other columns is read as curve, then standard. Standard names must be ones the library knows (GR, RDEP, RHOB, NPHI, DTC, CALI, …); a known alias stands for its standard name (RT for RDEP). A curve may map to one only.

Parameters:

source (Any)

Return type:

Dict[str, str]