- Fix code that causes
SyntaxWarning
in Python 3.8+ - Change
ImzmlWriter
to output "linescan left right" instead of "line scan left right", to match the ontology
- Handle mismatched accession for "positive scan"
- Default
ImzMLParser
to ElementTree if noparse_lib
is specified - Add
ImzMLParser.polarity
field
- Fixed new modules missing from package
- Add support for parsing all ImzML metadata
- Global metadata is always included through
ImzMLParser.metadata
- Per-spectrum metadata requires
include_spectra_metadata='full'
orinclude_spectra_metadata=[... list of accessions]
to be passed to ImzMLParser.
- Global metadata is always included through
- Handle mismatched accessions for specifying data types of binary arrays
- Add
PortableSpectrumReader
, which holds the minimal subset ofImzMLParser
needed to read m/z and intensity data from the .ibd file, and is able to be pickled.
- Changed
ImzMLParser.getspectrum
to return NumPy arrays instead of Python lists
- Added
parse_lib
parameter toImzMLParser
, allowing ElementTree to be used instead of lxml
- Support
MS:1000519
andMS:1000522
accessions for specifying integer binary data types
- Support
ImzMLParser
detecting .ibd files with a case-insensitive search