code wiki / (root) / nx_chem_mass_test.nx

nx_chem_mass_test.nx

buildroot/runtime/nx_chem_mass_test.nx

11101 B251 linesdepth 10pulls 13 transitivereach 0 importersview sourcekind gate/prooftopic chem
docsdependenciesstructsconstsfunctions

about

nx_chem_mass_test.nx -- C2.8a KAT for monoisotopic mass + ion m/z. All reference values from NIST WebBook (https://webbook.nist.gov/) and standard MS textbook references. expect_exit: 0 license_tier: ORIGINAL

dependencies 6 imports · 0 importers

nx_chem.nx nx_chem_molecule.nx nx_chem_smiles.nx nx_chem_periodic.nx nx_chem_valence.nx nx_chem_mass.nx nx_chem_mass_test.nx

imports: nx_chem.nxnx_chem_molecule.nxnx_chem_smiles.nxnx_chem_periodic.nxnx_chem_valence.nxnx_chem_mass.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main a_water nx_chem_atomic_data_table_ parse_with_h nx_chem_parse_smiles nx_chem_mol_new smi_is_digit nx_chem_mol_atom nx_chem_mol_bond_add nx_chem_mol_bond smi_parse_bracket smi_is_digit ↻ smi_is_upper smi_is_lower smi_bracket_symbol_two_cha smi_bracket_symbol_single_ smi_aromatic_lower_to_z nx_chem_mol_atom_add smi_connect nx_chem_mol_atom ↻ nx_chem_mol_bond_add ↻ nx_chem_mol_bond ↻ smi_aromatic_lower_to_z ↻ smi_is_upper ↻ smi_organic_atom nx_chem_smiles_populate_st nx_chem_compute_implicit_h nx_chem_default_valence nx_chem_atom_bond_summary nx_chem_mol_monoisotopic_m b_methane nx_chem_atomic_data_table_ ↻ parse_with_h ↻ nx_chem_mol_monoisotopic_m ↻ c_ethanol nx_chem_atomic_data_table_ ↻ parse_with_h ↻ nx_chem_mol_monoisotopic_m ↻ d_benzene nx_chem_atomic_data_table_ ↻

structs

none

consts

none

functions

18func parse_with_h(src: *u8, n: nx_int) -> *MolGraph
30func a_water() -> nx_int
45func b_methane() -> nx_int
59func c_ethanol() -> nx_int
80func d_benzene() -> nx_int
99func e_ethanol_mh_plus() -> nx_int
115func f_ethanol_mh_minus() -> nx_int
131func g_ethanol_mna_plus() -> nx_int
147func h_benzene_2h_plus() -> nx_int
167func i_lead() -> nx_int
184func j_nacl_monoisotopic() -> nx_int
196func main() -> nx_exit