public interface ScriptInterface
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
acquisitionExists(java.lang.String name)
Checks whether an acquisition with the given name already exists.
|
void |
addImageProcessor(DataProcessor<mmcorej.TaggedImage> processor)
Adds an image processor to the DataProcessor pipeline.
|
void |
addImageToAcquisition(java.lang.String name,
int frame,
int channel,
int slice,
int position,
mmcorej.TaggedImage taggedImg)
Inserts image into the data set.
|
void |
addMMBackgroundListener(java.awt.Component frame)
Lets Components register themselves so that their background can be
manipulated by the Micro-Manager UI.
|
void |
addMMListener(MMListenerInterface newL)
Allows MMListeners to register themselves so that they will receive
alerts as defined in the MMListenerInterface
|
void |
addToAlbum(mmcorej.TaggedImage image)
Add a TaggedImage to an album; creates a new album if the image and current album
do not match in image dimensions, bits per pixel, bytes per pixel, or number of channels.
|
void |
attachRunnable(int frame,
int position,
int channel,
int slice,
java.lang.Runnable runnable)
Attach a runnable to the acquisition engine.
|
void |
autostretchCurrentWindow()
Autostretch each histogram for the currently-active window, as if the
"Auto" button had been clicked for each one.
|
void |
clearMessageWindow()
Clears scripting console output window.
|
void |
clearRunnables()
Remove runnables from the acquisition engine
|
void |
closeAcquisition(java.lang.String name)
Closes the acquisition.
|
void |
closeAcquisitionWindow(java.lang.String acquisitionName)
Closes the image window corresponding to the acquisition.
|
void |
closeAllAcquisitions()
Closes all currently open acquisitions.
|
java.lang.String |
createAcquisition(org.json.JSONObject summaryMetadata,
boolean diskCached,
boolean displayOff)
Deprecated.
Use openAcquisition() instead.
|
boolean |
displayImage(mmcorej.TaggedImage image)
Show a TaggedImage in the snap/live window (uses current camera settings
to figure out the shape of the image)
|
void |
enableLiveMode(boolean b)
Turn live mode on or off (equivalent to pressing the Live mode button).
|
void |
enableRoiButtons(boolean enabled)
Enabled or disable the ROI buttons on the main window.
|
org.micromanager.dialogs.AcqControlDlg |
getAcqDlg()
Deprecated.
Use the get/setAcquisitionSettings() interface instead.
|
org.micromanager.acquisition.MMAcquisition |
getAcquisition(java.lang.String name)
Deprecated.
Because it returns an internal object that is subject to change.
|
IAcquisitionEngine2010 |
getAcquisitionEngine2010() |
int |
getAcquisitionImageBitDepth(java.lang.String acqName)
Returns the number of bits used per pixel
|
int |
getAcquisitionImageByteDepth(java.lang.String acqName)
Returns the number of bytes used per pixel
|
ImageCache |
getAcquisitionImageCache(java.lang.String acquisitionName)
Get a reference to the ImageCache object associated with the acquisition.
|
int |
getAcquisitionImageHeight(java.lang.String acqName)
Returns the width (in pixels) of images in this acquisition
|
int |
getAcquisitionImageWidth(java.lang.String acqName)
Returns the width (in pixels) of images in this acquisition
|
int |
getAcquisitionMultiCamNumChannels(java.lang.String acqName)
Returns boolean specifying whether multiple cameras used in this acquisition
|
java.lang.String[] |
getAcquisitionNames()
Gets an Array with names of all open acquisitions
|
java.lang.String |
getAcquisitionPath()
Return the current acquisition path, or null if not applicable
|
SequenceSettings |
getAcquisitionSettings()
Return current acquisition settings
|
Autofocus |
getAutofocus()
Currently active autofocus device (can be either a Java or C++ coded device).
|
org.micromanager.utils.AutofocusManager |
getAutofocusManager() |
java.awt.Color |
getBackgroundColor()
Returns the current color of the main window so that it can be used in
derived windows/plugins as well
|
java.lang.String |
getBackgroundStyle() |
ImageCache |
getCacheForWindow(ij.gui.ImageWindow window)
Given an ImageWindow, return the ImageCache associated with it.
|
double |
getChannelExposureTime(java.lang.String channelGroup,
java.lang.String channel,
double defaultExp)
Returns exposure time for the desired preset in the given channelgroup
Acquires its info from the preferences
Same thing is used in MDA window, but this class keeps its own copy
|
java.lang.String |
getCurrentAlbum()
Returns the name of the current album (i.e.
|
boolean |
getHideMDADisplayOption() |
java.util.List<DataProcessor<mmcorej.TaggedImage>> |
getImageProcessorPipeline()
Retrieve a copy of the current DataProcessor pipeline.
|
mmcorej.CMMCore |
getMMCore()
Provides access to the Core and its functionality.
|
PositionList |
getPositionList()
Returns a copy of the current PositionList, the one used by the Acquisition Protocol
|
java.awt.Rectangle |
getROI()
Get the default camera's ROI -- a convenience function.
|
ij.gui.ImageWindow |
getSnapLiveWin()
Returns the ImageJ ImageWindow instance that is used for Snap and Live display.
|
java.lang.String |
getUniqueAcquisitionName(java.lang.String stem)
Returns a name beginning with stem that is not yet used.
|
java.lang.String |
getVersion() |
org.micromanager.positionlist.PositionListDlg |
getXYPosListDlg()
Deprecated.
Use the get/setPositionList() interface instead.
|
java.lang.String |
getXYStageName()
There can be multiple XY stage devices in a system.
|
java.awt.geom.Point2D.Double |
getXYStagePosition()
Obtain the current XY stage position.
|
void |
initializeAcquisition(java.lang.String name,
int width,
int height,
int bytesPerPixel,
int bitDepth)
Set up image physical dimensions for the data set that has already been opened.
|
java.lang.String |
installAutofocusPlugin(java.lang.String className)
Installs an autofocus plugin class from the class path.
|
boolean |
isAcquisitionRunning()
Returns true when an acquisition is currently running (note: this function will
not return true if live mode, snap, or "Camera --> Album" is currently running
|
boolean |
isLiveModeOn()
Determines whether live mode is currently running.
|
boolean |
isPaused()
Returns true if the acquisition is currently paused.
|
void |
loadAcquisition(java.lang.String path)
Loads setting for Acquisition Dialog from file
Will open Acquisition Dialog when it is not open yet
|
void |
logError(java.lang.Exception e)
Writes a stacktrace to the Micro-Manager log.
|
void |
logError(java.lang.Exception e,
java.lang.String msg)
Writes the stacktrace and a message to the Micro-Manager log (Corelog.txt).
|
void |
logError(java.lang.String msg)
Writes an error to the Micro-Manager log (same as logMessage).
|
void |
logMessage(java.lang.String msg)
Adds a message to the Micro-Manager log (found in Corelogtxt).
|
void |
logStartupProperties()
Write various properties of MM and the OS to the log.
|
void |
makeActive() |
void |
markCurrentPosition()
Opens the XYPositionList when it is not opened.
|
void |
message(java.lang.String text)
Displays text in the scripting console output window.
|
void |
openAcquisition(java.lang.String name,
java.lang.String rootDir,
int nrFrames,
int nrChannels,
int nrSlices,
int nrPositions,
boolean show,
boolean save)
Opens a new acquisition data set
|
java.lang.String |
openAcquisitionData(java.lang.String location,
boolean inRAM)
Open an existing data set.
|
java.lang.String |
openAcquisitionData(java.lang.String location,
boolean inRAM,
boolean show)
Open an existing data set.
|
void |
promptToSaveAcquisition(java.lang.String name,
boolean prompt)
Display dialog to save data for one of the currently open acquisitions
|
void |
refreshGUI()
Brings GUI up to date with the recent changes in the mmcore.
|
void |
refreshGUIFromCache()
Brings GUI up to date with the recent changes in the mmcore.
|
void |
registerForEvents(java.lang.Object obj)
Request that the given object be added to our EventBus for notification
of events occurring.
|
void |
registerProcessorClass(java.lang.Class<? extends DataProcessor<mmcorej.TaggedImage>> processorClass,
java.lang.String name)
Register a new DataProcessor class with the Acquisition Engine.
|
void |
removeImageProcessor(DataProcessor<mmcorej.TaggedImage> taggedImageProcessor)
Removes an image processor from the DataProcessor pipeline.
|
void |
removeMMBackgroundListener(java.awt.Component frame)
Lets Components remove themselves from the list whose background gets
changed by the Micro-Manager UI.
|
void |
removeMMListener(MMListenerInterface oldL)
Allows MMListeners to remove themselves
|
java.lang.String |
runAcquisition()
Executes Acquisition with current settings
Will open the Acquisition Dialog when it is not open yet
Returns after Acquisition finishes
Note that this function should not be executed on the EDT (which is the
thread running the UI).
|
java.lang.String |
runAcquisition(java.lang.String name,
java.lang.String root)
Executes Acquisition with current settings but allows for changing the data path.
|
void |
saveConfigPresets()
Save current configuration
|
void |
setAcquisitionAddImageAsynchronous(java.lang.String name)
Change an acquisition so that adding images to it is done asynchronously.
|
void |
setAcquisitionProperty(java.lang.String acqName,
java.lang.String propertyName,
java.lang.String value)
Sets custom property attached to the acquisition summary
|
void |
setAcquisitionSettings(SequenceSettings settings)
Apply new acquisition settings
|
void |
setBackgroundStyle(java.lang.String backgroundType)
Sets the background color of the GUI and all its registered components to
the selected backGroundType
|
void |
setChannelColor(java.lang.String title,
int channel,
java.awt.Color color)
Sets the color of the specified channel in the image viewer.
|
void |
setChannelContrast(java.lang.String title,
int channel,
int min,
int max)
Sets min (black) and max (white or the channel's color) pixel value clipping levels for each channel.
|
void |
setChannelExposureTime(java.lang.String channelGroup,
java.lang.String channel,
double exposure)
Updates the exposure time associated with the given preset
If the channelgroup and channel name match the current state
the exposure time will also be updated
|
void |
setChannelName(java.lang.String title,
int channel,
java.lang.String name)
Sets the channel name (label)
|
void |
setConfigChanged(boolean status)
lets the GUI know that the current configuration has been changed.
|
void |
setContrastBasedOnFrame(java.lang.String title,
int frame,
int slice)
Autoscales contrast for each channel at the current position based on pixel values
at the current slice and frame
|
void |
setImageProcessorPipeline(java.util.List<DataProcessor<mmcorej.TaggedImage>> pipeline)
Replace the current DataProcessor pipeline with the provided one.
|
void |
setImageProperty(java.lang.String acqName,
int frame,
int channel,
int slice,
java.lang.String propName,
java.lang.String value)
Sets property attached to an individual image.
|
void |
setImageSavingFormat(java.lang.Class imageSavingClass)
Set the format for saving images to disk.
|
void |
setPause(boolean state)
Pause/Unpause a running acquistion
|
void |
setPositionList(PositionList pl)
Makes this the 'current' PositionList, i.e., the one used by the Acquisition Protocol
Replaces the list in the PositionList Window
It will open a position list dialog if it was not already open.
|
void |
setRelativeStagePosition(double z)
Move default Focus (Z) relative to current position and block until done
|
void |
setRelativeXYStagePosition(double x,
double y)
Move default XY stage relative to current position and block until done.
|
void |
setROI(java.awt.Rectangle r)
Set the default camera's ROI -- a convenience function.
|
void |
setStagePosition(double z)
Move default Focus (Z) and block until done
|
void |
setXYOrigin(double x,
double y)
Assigns the current stage position of the default xy-stage to be (x,y),
thereby offseting the coordinates of all other positions.
|
void |
setXYStagePosition(double x,
double y)
Move default XY stage and block until done.
|
void |
showAutofocusDialog()
Shows the dialog with options for the currently active autofocus device.
|
void |
showError(java.lang.Exception e)
Shows and logs a Java exception.
|
void |
showError(java.lang.Exception e,
java.awt.Component parent)
Shows and logs a Java exception.
|
void |
showError(java.lang.Exception e,
java.lang.String msg)
Shows an error in the UI and logs stacktrace to the Micro-Manager log.
|
void |
showError(java.lang.Exception e,
java.lang.String msg,
java.awt.Component parent)
Shows an error in the UI and logs stacktrace to the Micro-Manager log.
|
void |
showError(java.lang.String msg)
Shows an error message in the UI and logs to the Micro-Manager log.
|
void |
showError(java.lang.String msg,
java.awt.Component parent)
Shows an error message in the UI and logs to the Micro-Manager log.
|
void |
showMessage(java.lang.String msg)
Shows a message in the UI.
|
void |
showMessage(java.lang.String msg,
java.awt.Component parent)
Shows a message in the UI.
|
void |
showXYPositionList()
shows the position list dialog
|
void |
sleep(long ms)
Request a pause in script execution for the specified number of
milliseconds.
|
void |
snapAndAddImage(java.lang.String name,
int frame,
int channel,
int z,
int position)
Snaps an image with the current settings and places pixels in the specified position
of the Micro-Manager Image viewer
|
void |
snapSingleImage()
Snaps image and displays in AcqWindow.
|
void |
unregisterForEvents(java.lang.Object obj)
Unregister the given object from EventBus notfications
|
boolean |
versionLessThan(java.lang.String version)
Displays an error message and returns true if the run-time Micro-Manager version
is less than the one specified.
|
void sleep(long ms) throws org.micromanager.utils.MMScriptException
ms
- Time in millisecond that the script should pauseorg.micromanager.utils.MMScriptException
void message(java.lang.String text) throws org.micromanager.utils.MMScriptException
text
- org.micromanager.utils.MMScriptException
void clearMessageWindow() throws org.micromanager.utils.MMScriptException
org.micromanager.utils.MMScriptException
void refreshGUI()
void refreshGUIFromCache()
void snapSingleImage()
void openAcquisition(java.lang.String name, java.lang.String rootDir, int nrFrames, int nrChannels, int nrSlices, int nrPositions, boolean show, boolean save) throws org.micromanager.utils.MMScriptException
name
- - Name of the data setrootDir
- - Directory where the new data set is going to be creatednrFrames
- - Number of Frames (time points) in this acquisitionnrChannels
- - Number of Channels in this acquisitionnrSlices
- - Number of Slices (Z-positions) in this acquisitionnrPositions
- Number of (XY) Positions in this acquisition.show
- Whether or not to show this acquisition.save
- Whether or not save data during acquisition.org.micromanager.utils.MMScriptException
@Deprecated java.lang.String createAcquisition(org.json.JSONObject summaryMetadata, boolean diskCached, boolean displayOff)
summaryMetadata
- The metadata describing the acquisition parametersdiskCached
- True if images are cached on disk; false if they are kept in RAM only.displayOff
- True if no display is to be created or shown.void initializeAcquisition(java.lang.String name, int width, int height, int bytesPerPixel, int bitDepth) throws org.micromanager.utils.MMScriptException
name
- - Name of the data setwidth
- - Image width in pixelsheight
- - Image height in pixelsbytesPerPixel
- - Number of bytes per pixelbitDepth
- - Dynamic range in bits per pixelorg.micromanager.utils.MMScriptException
void addImageToAcquisition(java.lang.String name, int frame, int channel, int slice, int position, mmcorej.TaggedImage taggedImg) throws org.micromanager.utils.MMScriptException
name
- - data set nameframe
- - 0 based frame numberchannel
- - 0 based channel numberslice
- - 0 based (z) slice numberposition
- - 0 based position numbertaggedImg
- Tagged Image (image with associated metadata)org.micromanager.utils.MMScriptException
void setAcquisitionAddImageAsynchronous(java.lang.String name) throws org.micromanager.utils.MMScriptException
name
- of acquisitionorg.micromanager.utils.MMScriptException
- if the specified acquisition does not exist.void snapAndAddImage(java.lang.String name, int frame, int channel, int z, int position) throws org.micromanager.utils.MMScriptException
name
- Name of the acquisition.frame
- Frame number (time point, 0-based) in which this image should be inserted.channel
- Channel number (0-based) in which this image should be inserted.z
- Slice number (0-based) in which this image should be inserted.position
- Position number (0-based) in which this image should be inserted.org.micromanager.utils.MMScriptException
@Deprecated org.micromanager.acquisition.MMAcquisition getAcquisition(java.lang.String name) throws org.micromanager.utils.MMScriptException
name
- - data set nameorg.micromanager.utils.MMScriptException
java.lang.String getUniqueAcquisitionName(java.lang.String stem)
stem
- Base name from which a unique name will be constructedjava.lang.String getCurrentAlbum()
void addToAlbum(mmcorej.TaggedImage image) throws org.micromanager.utils.MMScriptException
image
- - TaggedImage to be added to albumorg.micromanager.utils.MMScriptException
java.lang.Boolean acquisitionExists(java.lang.String name)
name
- name to be tested for existencevoid closeAcquisition(java.lang.String name) throws org.micromanager.utils.MMScriptException
name
- name of acquisition to be closedorg.micromanager.utils.MMScriptException
void closeAllAcquisitions()
java.lang.String[] getAcquisitionNames()
int getAcquisitionImageWidth(java.lang.String acqName) throws org.micromanager.utils.MMScriptException
org.micromanager.utils.MMScriptException
int getAcquisitionImageHeight(java.lang.String acqName) throws org.micromanager.utils.MMScriptException
org.micromanager.utils.MMScriptException
int getAcquisitionImageBitDepth(java.lang.String acqName) throws org.micromanager.utils.MMScriptException
org.micromanager.utils.MMScriptException
int getAcquisitionImageByteDepth(java.lang.String acqName) throws org.micromanager.utils.MMScriptException
org.micromanager.utils.MMScriptException
int getAcquisitionMultiCamNumChannels(java.lang.String acqName) throws org.micromanager.utils.MMScriptException
org.micromanager.utils.MMScriptException
void setAcquisitionProperty(java.lang.String acqName, java.lang.String propertyName, java.lang.String value) throws org.micromanager.utils.MMScriptException
org.micromanager.utils.MMScriptException
void setImageProperty(java.lang.String acqName, int frame, int channel, int slice, java.lang.String propName, java.lang.String value) throws org.micromanager.utils.MMScriptException
org.micromanager.utils.MMScriptException
java.lang.String runAcquisition() throws org.micromanager.utils.MMScriptException
org.micromanager.utils.MMScriptException
java.lang.String runAcquisition(java.lang.String name, java.lang.String root) throws org.micromanager.utils.MMScriptException
name
- Name of this acquisition.root
- Place in the file system where data can be stored.org.micromanager.utils.MMScriptException
void loadAcquisition(java.lang.String path) throws org.micromanager.utils.MMScriptException
org.micromanager.utils.MMScriptException
void setPositionList(PositionList pl) throws org.micromanager.utils.MMScriptException
org.micromanager.utils.MMScriptException
PositionList getPositionList() throws org.micromanager.utils.MMScriptException
org.micromanager.utils.MMScriptException
void setChannelColor(java.lang.String title, int channel, java.awt.Color color) throws org.micromanager.utils.MMScriptException
org.micromanager.utils.MMScriptException
void setChannelName(java.lang.String title, int channel, java.lang.String name) throws org.micromanager.utils.MMScriptException
title
- - acquisition namechannel
- - channel indexname
- - channel labelorg.micromanager.utils.MMScriptException
void setChannelExposureTime(java.lang.String channelGroup, java.lang.String channel, double exposure)
channelGroup
- -channel
- - preset for which to change exposure timeexposure
- - desired exposure timevoid setChannelContrast(java.lang.String title, int channel, int min, int max) throws org.micromanager.utils.MMScriptException
title
- - acquisition namechannel
- - channel index (use 0 if there is only a single channel)min
- - black clipping levelmax
- - white clipping levelorg.micromanager.utils.MMScriptException
void setContrastBasedOnFrame(java.lang.String title, int frame, int slice) throws org.micromanager.utils.MMScriptException
title
- - acquisition nameframe
- - frame numberslice
- - slice numberorg.micromanager.utils.MMScriptException
double getChannelExposureTime(java.lang.String channelGroup, java.lang.String channel, double defaultExp)
channelGroup
- channel
- -defaultExp
- - default valuevoid closeAcquisitionWindow(java.lang.String acquisitionName) throws org.micromanager.utils.MMScriptException
acquisitionName
- - Name of the acquisitionorg.micromanager.utils.MMScriptException
java.awt.geom.Point2D.Double getXYStagePosition() throws org.micromanager.utils.MMScriptException
org.micromanager.utils.MMScriptException
void setStagePosition(double z) throws org.micromanager.utils.MMScriptException
z
- absolute z positionorg.micromanager.utils.MMScriptException
void setRelativeStagePosition(double z) throws org.micromanager.utils.MMScriptException
z
- org.micromanager.utils.MMScriptException
void setXYStagePosition(double x, double y) throws org.micromanager.utils.MMScriptException
x
- - coordinate in umy
- - coordinate in umorg.micromanager.utils.MMScriptException
void setRelativeXYStagePosition(double x, double y) throws org.micromanager.utils.MMScriptException
x
- - coordinate in umy
- - coordinate in umorg.micromanager.utils.MMScriptException
java.lang.String getXYStageName()
void setXYOrigin(double x, double y) throws org.micromanager.utils.MMScriptException
org.micromanager.utils.MMScriptException
void saveConfigPresets()
ij.gui.ImageWindow getSnapLiveWin()
ImageCache getCacheForWindow(ij.gui.ImageWindow window) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
java.lang.String installAutofocusPlugin(java.lang.String className)
mmcorej.CMMCore getMMCore()
Autofocus getAutofocus()
void showAutofocusDialog()
void logMessage(java.lang.String msg)
msg
- - message to be added to the logvoid showMessage(java.lang.String msg)
msg
- - message to be shownvoid showMessage(java.lang.String msg, java.awt.Component parent)
msg
- - message to be shownparent
- - parent component over which this message should be centeredvoid logError(java.lang.Exception e, java.lang.String msg)
e
- - Java exception to be loggedmsg
- - message to be shownvoid logError(java.lang.Exception e)
e
- - Java exception to be loggedvoid logError(java.lang.String msg)
msg
- - message to be loggedvoid showError(java.lang.Exception e, java.lang.String msg)
e
- - Java exception to be shown and loggedmsg
- - Error message to be shown and loggedvoid showError(java.lang.Exception e)
e
- - Java excpetion to be shown and loggedvoid showError(java.lang.String msg)
msg
- - error message to be shown and loggedvoid showError(java.lang.Exception e, java.lang.String msg, java.awt.Component parent)
e
- - Java exception to be shown and loggedmsg
- - Error message to be shown and loggedparent
- - frame in which to show dialog, or null for callervoid showError(java.lang.Exception e, java.awt.Component parent)
e
- - Java exception to be shown and loggedparent
- - frame in which to show dialog, or null for callervoid showError(java.lang.String msg, java.awt.Component parent)
msg
- - error message to be shown and loggedparent
- - frame in which to show dialog, or null for callervoid addMMListener(MMListenerInterface newL)
newL
- void removeMMListener(MMListenerInterface oldL)
oldL
- void addMMBackgroundListener(java.awt.Component frame)
frame
- Component to which the listener should be added.void removeMMBackgroundListener(java.awt.Component frame)
frame
- Component from which the listener should be removed.java.awt.Color getBackgroundColor()
boolean displayImage(mmcorej.TaggedImage image)
image
- TaggedImage (pixel data and metadata tags) to be displayedboolean isLiveModeOn()
void enableLiveMode(boolean b)
b
- true starts live mode, false stops live mode.java.awt.Rectangle getROI() throws org.micromanager.utils.MMScriptException
org.micromanager.utils.MMScriptException
void setROI(java.awt.Rectangle r) throws org.micromanager.utils.MMScriptException
r
- org.micromanager.utils.MMScriptException
ImageCache getAcquisitionImageCache(java.lang.String acquisitionName) throws org.micromanager.utils.MMScriptException
acquisitionName
- Name of the acquisitionorg.micromanager.utils.MMScriptException
void markCurrentPosition()
@Deprecated org.micromanager.dialogs.AcqControlDlg getAcqDlg()
@Deprecated org.micromanager.positionlist.PositionListDlg getXYPosListDlg()
boolean isAcquisitionRunning()
boolean versionLessThan(java.lang.String version) throws org.micromanager.utils.MMScriptException
version
- - minimum version needen to run this codeorg.micromanager.utils.MMScriptException
void logStartupProperties()
void makeActive()
org.micromanager.utils.AutofocusManager getAutofocusManager()
java.lang.String getBackgroundStyle()
java.lang.String getVersion()
void setBackgroundStyle(java.lang.String backgroundType)
backgroundType
- either "Day" or "Night"void setConfigChanged(boolean status)
status
- void showXYPositionList()
java.lang.String openAcquisitionData(java.lang.String location, boolean inRAM) throws org.micromanager.utils.MMScriptException
org.micromanager.utils.MMScriptException
java.lang.String openAcquisitionData(java.lang.String location, boolean inRAM, boolean show) throws org.micromanager.utils.MMScriptException
org.micromanager.utils.MMScriptException
void enableRoiButtons(boolean enabled)
void setImageSavingFormat(java.lang.Class imageSavingClass) throws org.micromanager.utils.MMScriptException
imageSavingClass
- use either org.micromanager.acquisition.TaggedImageStorageDiskDefault.class
for single-image files of org.micromanager.acquisition.TaggedImageStorageMultipageTiff.class for
multi-image filesorg.micromanager.utils.MMScriptException
IAcquisitionEngine2010 getAcquisitionEngine2010()
boolean getHideMDADisplayOption()
void addImageProcessor(DataProcessor<mmcorej.TaggedImage> processor)
void removeImageProcessor(DataProcessor<mmcorej.TaggedImage> taggedImageProcessor)
java.util.List<DataProcessor<mmcorej.TaggedImage>> getImageProcessorPipeline()
void setImageProcessorPipeline(java.util.List<DataProcessor<mmcorej.TaggedImage>> pipeline)
void registerProcessorClass(java.lang.Class<? extends DataProcessor<mmcorej.TaggedImage>> processorClass, java.lang.String name)
void setPause(boolean state)
boolean isPaused()
void attachRunnable(int frame, int position, int channel, int slice, java.lang.Runnable runnable)
void clearRunnables()
SequenceSettings getAcquisitionSettings()
void setAcquisitionSettings(SequenceSettings settings)
java.lang.String getAcquisitionPath()
void promptToSaveAcquisition(java.lang.String name, boolean prompt) throws org.micromanager.utils.MMScriptException
org.micromanager.utils.MMScriptException
void registerForEvents(java.lang.Object obj)
void unregisterForEvents(java.lang.Object obj)
void autostretchCurrentWindow()