mfFromEA

Returns possible combinations

mfFromEA(targetEA: object?, options: object): Array<object>
Parameters
targetEA (object?)
options (object = {})
Name Description
options.ranges string (default 'C0-100 H0-100 O0-100 N0-100') range of mfs to search
options.maxElementError number (default 0.003)
options.maxTotalError number (default 0.01)
options.minMW number (default 0) minimal molecular weight
options.maxMW number (default +Infinity) maximal molecular weight
options.unsaturation object (default {})
options.unsaturation.min number (default -Infinity) Minimal unsaturation
options.unsaturation.max number (default +Infinity) Maximal unsaturation
options.unsaturation.onlyInteger boolean (default false) Integer unsaturation
options.unsaturation.onlyNonInteger boolean (default false) Non integer unsaturation
Returns
Array<object>: