Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Pickle AdornedImage objects
import pickle
from autoscript_sdb_microscope_client import SdbMicroscopeClient
from autoscript_sdb_microscope_client.enumerations import *
from autoscript_sdb_microscope_client.structures import *
microscope = SdbMicroscopeClient()
object_to_pickle = microscope.imaging.get_image()
with open("pickled_file.pkl","wb") as f:
pickle.dump(object_to_pickle, f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.