ncempy.command_line package


ncempy.command_line.ncem2png module

This scripts converts SER, DM3, and DM4 files into PNG

ncempy.command_line.ncem2png.dm_to_png(source_file, dest_file, fixed_dimensions=None)[source]

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.

ncempy.command_line.ncem2png.extract_dimension(img, fixed_dimensions=None)[source]
ncempy.command_line.ncem2png.ser_to_png(source_file, dest_file)[source]

Saves the SER source_file as PNG dest_file.

Module contents