Misc. functions

This modules is imported as nmrglue.misc and can be called as such.


pair_similar(dic1, data1, dic2, data2[, ...]) Check a dic, data pair against a second dic, data pair for differences.
isdatasimilar(data1, data2[, verb, atol, rtol]) Check that two sets of NMR data are equal within a tolerance.
isdicsimilar(dic1, dic2[, verb, dtol, ...]) Compare two dictionaries for differences
islistsimilar(l1, l2[, verb, dtol]) Compare two lists (or iterable) for differences
isitemsimilar(v1, v2[, verb, dtol]) Compare two values for differences