Conversion of Electron Microscopy Images.
9 Conversion of Electron Microscopy Images.
14 fn_selection = em2d.get_example_path(
"all-1z5s-projections.sel")
16 srw = em2d.SpiderImageReaderWriter()
17 trw = em2d.TIFFImageReaderWriter()
18 fn_images = em2d.read_selection_file(fn_selection)
19 fn_images = [em2d.get_example_path(x)
for x
in fn_images]
20 images = em2d.read_images(fn_images, srw)
22 fn_saved = em2d.create_filenames(3,
"1z5s-projection",
"tif")
23 em2d.save_images(images, fn_saved, trw)