matchms.filtering.make_charge_scalar module

matchms.filtering.make_charge_scalar.make_charge_scalar(spectrum_in: Spectrum) Spectrum[source]

Convert charge field to scalar (if necessary).

Deprecated function, now replaced by make_charge_int().

Deprecated since version 0.8.2: Use expanded make_charge_int() instead.