@@ -62,12 +62,13 @@ with Image(list(image_ids.values())[0], **server_info) as image:
...
@@ -62,12 +62,13 @@ with Image(list(image_ids.values())[0], **server_info) as image:
### Tiling the raw data
### Tiling the raw data
A `Tiler` object performs trap registration. It is built in different ways, the easiest one is using an image and a the default parameters set.
A `Tiler` object performs trap registration. It may be built in different ways but the simplest one is using an image and a the default parameters set.
The initialisation should take a few seconds, as it needs to align the images
The initialisation should take a few seconds, as it needs to align the images
...
@@ -76,19 +77,15 @@ in time.
...
@@ -76,19 +77,15 @@ in time.
It fetches the metadata from the Image object, and uses the TilerParameters values (all Processes in aliby depend on an associated Parameters class, which is in essence a dictionary turned into a class.)
It fetches the metadata from the Image object, and uses the TilerParameters values (all Processes in aliby depend on an associated Parameters class, which is in essence a dictionary turned into a class.)
#### Get a timelapse for a given trap
#### Get a timelapse for a given trap
TODO: Update this
```python
```python
channels=[0]#Get only the first channel, this is also the default
fpath="h5/location"
z=[0,1,2,3,4]#Get all z-positions
trap_id=0
trap_id=9
tile_size=117
trange=list(range(0,30))
ncols=8
# Get a timelapse of the trap
# The default trap size is 96 by 96
riv=remoteImageViewer(fpath)
# The trap is in the center of the image, except for edge cases