gunshotmatch_pipeline.results
Results presented in different formats.
Classes:
Return type from |
|
Type hint for the |
|
Type hint for the |
Functions:
|
Returns data on the compounds in each repeat in the project(s). |
|
Prepares data on the compounds in each repeat from the output of |
|
Returns data formatted for training a decision tree or other machine learning model. |
|
Returns data on the “best match” for each peak. |
|
Returns results for an unknown sample. |
|
Returns data formatted for training a decision tree or other machine learning model. |
-
typeddict
Matches
[source] Bases:
TypedDict
Return type from
matches()
.- Required Keys
metadata (
MatchesMetadata
)compounds (
Dict
[str
,MatchesCompounds
])
-
compounds
(*project, normalize=False)[source] Returns data on the compounds in each repeat in the project(s).
The output mapping gives the peak areas for each compound in the different projects, grouped by compound.
-
compounds_from_matches
(*matches_data, normalize=False)[source] Prepares data on the compounds in each repeat from the output of
matches()
for each project.The output mapping gives the peak areas for each compound in the different projects, grouped by compound.
-
machine_learning_data
(*project, normalize=False)[source] Returns data formatted for training a decision tree or other machine learning model.
-
unknown
(unknown_project, normalize=False)[source] Returns results for an unknown sample.
The output mapping is formatted the same as that from
compounds()
, but with only one “project”.