|
|
omero.gateway.BlitzGateway
|
_createConnection(server_id,
sUuid=None,
username=None,
passwd=None,
host=None,
port=None,
retry=True,
group=None,
try_super=False,
secure=False,
anonymous=False,
useragent=None)
Attempts to create a omero.gateway.BlitzGateway connection. |
source code
|
|
|
|
|
getBlitzConnection(request,
server_id=None,
with_session=False,
retry=True,
force_key=None,
group=None,
try_super=False,
useragent=None)
Grab a connection to the Ice server, trying hard to reuse connections as possible. |
source code
|
|
tuple of 3 lists
|
_split_channel_info(rchannels)
Splits the request query channel information for images into a
sequence of channels, window ranges and channel colors. |
source code
|
|
Dict or String
|
|
|
|
|
render_birds_eye_view(request,
iid,
server_id=None,
size=None,
_conn=None,
**kwargs)
Returns an HttpResponse wrapped jpeg with the rendered bird's eye
view for image 'iid'. |
source code
|
|
|
render_thumbnail(request,
iid,
server_id=None,
w=None,
h=None,
_conn=None,
_defcb=None,
**kwargs)
Returns an HttpResponse wrapped jpeg with the rendered thumbnail for
image 'iid' |
source code
|
|
|
|
|
_get_prepared_image(request,
iid,
server_id=None,
_conn=None,
with_session=True,
saveDefs=False,
retry=True)
Fetches the Image object for image 'iid' and prepares it according to
the request query, setting the channels, rendering model and
projection arguments. |
source code
|
|
|
render_image_region(request,
iid,
z,
t,
server_id=None,
_conn=None,
**kwargs)
Returns a jpeg of the OMERO image, rendering only a region specified
in query string as region=x,y,width,height. |
source code
|
|
|
render_image(request,
iid,
z,
t,
server_id=None,
_conn=None,
**kwargs)
Renders the image with id {{iid}} at {{z}} and {{t}} as jpeg. |
source code
|
|
|
render_ome_tiff(request,
ctx,
cid,
server_id=None,
_conn=None,
**kwargs)
Renders the OME-TIFF representation of the image(s) with id cid in
ctx (i)mage, (d)ataset, or (p)roject. |
source code
|
|
|
render_movie(request,
iid,
axis,
pos,
server_id=None,
_conn=None,
**kwargs)
Renders a movie from the image with id iid |
source code
|
|
|
render_split_channel(request,
iid,
z,
t,
server_id=None,
_conn=None,
**kwargs)
Renders a split channel view of the image with id {{iid}} at {{z}}
and {{t}} as jpeg. |
source code
|
|
|
|
|
jsonp(f)
Decorator for adding connection debugging and returning function
result as json, depending on values in kwargs |
source code
|
|
|
render_row_plot(request,
iid,
z,
t,
y,
server_id=None,
_conn=None,
w=1,
**kwargs)
Renders the line plot for the image with id {{iid}} at {{z}} and
{{t}} as gif with transparent background. |
source code
|
|
|
render_col_plot(request,
iid,
z,
t,
x,
w=1,
server_id=None,
_conn=None,
**kwargs)
Renders the line plot for the image with id {{iid}} at {{z}} and
{{t}} as gif with transparent background. |
source code
|
|
|
|
|
imageMarshal(image,
key=None)
return a dict with pretty much everything we know and care about an
image, all wrapped in a pretty structure. |
source code
|
|
|
imageData_json(request,
server_id=None,
_conn=None,
_internal=False,
**kwargs)
Get a dict with image information TODO: cache |
source code
|
|
|
wellData_json(request,
server_id=None,
_conn=None,
_internal=False,
**kwargs)
Get a dict with image information TODO: cache |
source code
|
|
|
|
|
listImages_json(request,
did,
server_id=None,
_conn=None,
**kwargs)
lists all Images in a Dataset, as json TODO: cache |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
save_image_rdef_json(request,
iid,
server_id=None,
**kwargs)
Requests that the rendering defs passed in the request be set as the
default for this image. |
source code
|
|
|
list_compatible_imgs_json(request,
server_id,
iid,
_conn=None,
**kwargs)
Lists the images on the same project that would be viable targets for
copying rendering settings. |
source code
|
|
|
copy_image_rdef_json(request,
server_id=None,
_conn=None,
_internal=False,
**kwargs)
Copy the rendering settings from one image to a list of images. |
source code
|
|
|
|
|
dbg_connectors(request)
For debugging, return connectors dict as plain text |
source code
|
|
|
full_viewer(request,
iid,
server_id=None,
_conn=None,
**kwargs)
This view is responsible for showing the omero_image template Image
rendering options in request are used in the display page. |
source code
|
|
|
|
|
|
|
su(request,
user,
server_id=None,
_conn=None,
**kwargs)
If current user is admin, switch the session to a new connection
owned by 'user' (puts the new session ID in the request.session)
Return False if not possible |
source code
|
|