Trees | Indices | Help |
|
---|
|
components/tools/OmeroPy/src/omero/util/figureUitl.py ----------------------------------------------------------------------------- Copyright (C) 2006-2009 University of Dundee. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. ------------------------------------------------------------------------------ A collection of utility methods used by Figure scripts for producing publication type of figures. @author William Moore <a href="mailto:will@lifesci.dundee.ac.uk">will@lifesci.dundee.ac.uk</a> @author Jean-Marie Burel <a href="mailto:j.burel@dundee.ac.uk">j.burel@dundee.ac.uk</a> @author Donald MacDonald <a href="mailto:donald@lifesci.dundee.ac.uk">donald@lifesci.dundee.ac.uk</a> @version 3.0 <small> (<b>Internal version:</b> $Revision: $Date: $) </small> @since 3.0-Beta4.1
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
SECS_MILLIS = "SECS_MILLIS"
|
|||
SECS = "SECS"
|
|||
MINS = "MINS"
|
|||
HOURS = "HOURS"
|
|||
MINS_SECS = "MINS_SECS"
|
|||
HOURS_MINS = "HOURS_MINS"
|
|||
HOURS_MINS_SECS = "HOURS_MINS_SECS"
|
|||
HOURS_MINS_SECS_MILLIS = "HOURS_MINS_SECS_MILLIS"
|
|||
TIME_UNITS = [SECS_MILLIS, SECS, MINS, HOURS, MINS_SECS, HOURS
|
|
Query returns a map where each key is the imageId and the value is a list of (projectName, datasetName) tuples. If the image does not have a Dataset AND Project, the map will hold an empty list for that imageId.
|
Query returns a map of key = imageId, value = [tagNames] for the image
|
Get the time in seconds (float) for the first plane (C = 0 & Z = 0) at each time-point for the defined pixels. Returns a map of tIndex: timeInSecs
|
Returns a string formatting of the time (in seconds) according to the chosen timeUnits: "SECS_MILLIS", "SECS", "MINS", "HOURS", "MINS_SECS", "HOURS_MINS", HOURS_MINS_SECS, HOURS_MINS_SECS_MILLIS
|
Returns a list of time labels e.g. "10", "20" for the first plane at each t-index (C=0 and Z=0). If no planeInfo is available, returns plane number/total e.g "3/10" If time units are not specified, the most suitable units are chosen based on the max time. The list of label returned includes the timeUnits as the last string in the list, in case you didn't specify it.
|
|
TIME_UNITS
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Oct 18 13:28:32 2011 | http://epydoc.sourceforge.net |