This scripts converts SER, DM3, and DM4 files into PNG
ncempy.command_line.ncem2png.
dm_to_png
Saves the DM3 or DM4 source_file as PNG dest_file. If the data has three of four dimensions. The image taken is from the middle image in those dimensions.
extract_dimension
main
ser_to_png
Saves the SER source_file as PNG dest_file.