Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.37 KB

File metadata and controls

36 lines (27 loc) · 1.37 KB

FragmentNode

Properties

Name Type Description Notes
fragment_id int [optional]
molecular_formula str neutral molecular formula of the fragment without adduct [optional]
adduct str This combines the ionization plus adduct of the fragment. In contrast to the {@link FragmentationTree FragmentationTree}s adduct, this adduct may not include any in-source loss. [optional]
mass_deviation_da float [optional]
mass_deviation_ppm float [optional]
score float [optional]
intensity float [optional]
mz float [optional]

Example

from PySirius.models.fragment_node import FragmentNode

# TODO update the JSON string below
json = "{}"
# create an instance of FragmentNode from a JSON string
fragment_node_instance = FragmentNode.from_json(json)
# print the JSON string representation of the object
print(FragmentNode.to_json())

# convert the object into a dict
fragment_node_dict = fragment_node_instance.to_dict()
# create an instance of FragmentNode from a dict
fragment_node_from_dict = FragmentNode.from_dict(fragment_node_dict)

[Back to Model list] [Back to API list] [Back to README]