Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
alibylite
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Swain Lab
aliby
alibylite
Commits
55f0706a
Commit
55f0706a
authored
5 years ago
by
dadjavon
Browse files
Options
Downloads
Patches
Plain Diff
Documentation fix: include slicing
parent
87f071dd
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+14
-3
14 additions, 3 deletions
README.md
with
14 additions
and
3 deletions
README.md
+
14
−
3
View file @
55f0706a
...
@@ -74,9 +74,20 @@ omero_expt = Experiment.from_source(10421, #Experiment ID on OMERO
...
@@ -74,9 +74,20 @@ omero_expt = Experiment.from_source(10421, #Experiment ID on OMERO
```
```
Data is organised in each experiment as
`Timelapse`
classes. These are also
Data is organised in each experiment as
`Timelapse`
classes. These are also
separated into
`TimelapseOMERO`
and
`TimelapseLocal`
, but the main
separated into
`TimelapseOMERO`
and
`TimelapseLocal`
.
function of these objects is
`get_hypercube()`
, which can be called
The main function of these objects is to give a direct interface to the raw
directly from the
`Experiment`
object.
data, whatever form it is saved in.
These objects are sliceable, meaning that data can be accessed like a numpy
array (with some reservations). This can be done directly through the
`Experiment`
object.
```
python
bf_1
=
expt
[
0
,
0
,
:,
:,
:]
# First channel, first timepoint, all x,y,z
```
Aside from the argument parsing, this is implemented through the
`get_hypercube()`
function, which can be called directly from the
`Experiment`
object.
```
python
```
python
x
,
y
,
width
,
height
,
z_positions
,
channels
,
timepoints
=
[
None
]
*
7
#Get full pos
x
,
y
,
width
,
height
,
z_positions
,
channels
,
timepoints
=
[
None
]
*
7
#Get full pos
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment