A collection of packages and tools for electron microscopy data analysis supported by the National Center for Electron Microscopy facility of the Molecular Foundry
Allow user to input file object as an alternative to a file path. This uses "duck typing" to check if the file object has a read function. If it does then it uses that to read the file instead of opening the file.
Allow user to input file object as an alternative to a file path. This uses "duck typing" to check if the file object has a
read
function. If it does then it uses that to read the file instead of opening the file.