You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function pyrolite.geochem.transform.get_ratio accepts the keyword norm_to for getting normalised ratios, but this is not currently implemented.
Most of the required implementation is there, but it needs to be updated so the correct values will be returned (currently the normalized values are taken from the respective dataframes, but they aren't then assigned to a ratio variable or stored as a column in a dataframe).
The text was updated successfully, but these errors were encountered:
morganjwilliams
changed the title
pyrolite.geochem.transform.get_ratio : norm_to not implemented.
pyrolite.geochem.transform.get_ratio: norm_to not implemented.
Feb 24, 2020
This issue has now been addressed with e9b96ff . You can now add normalized ratios by i) specifying the composition/number to normalize to (e.g. "Chondrite_PON", a tuple of abundances (2.1, 3.1), or a single number), ii) appending "_n" to the end of the ratio you request (e.g. "Mg/Fe_n" or "(Mg/Fe)_n") or iii) doing both of these things. For example:
The function
pyrolite.geochem.transform.get_ratio
accepts the keywordnorm_to
for getting normalised ratios, but this is not currently implemented.Most of the required implementation is there, but it needs to be updated so the correct values will be returned (currently the normalized values are taken from the respective dataframes, but they aren't then assigned to a ratio variable or stored as a column in a dataframe).
The text was updated successfully, but these errors were encountered: