forked from flatironinstitute/CaImAn
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into 3d_motion_changes
- Loading branch information
Showing
49 changed files
with
8,439 additions
and
1,175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[style] | ||
based_on_style = google | ||
spaces_before_comment = 8,16,24,32,40,48,56,64,72,80 | ||
column_limit = 120 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# We mostly just want to run yapf on the module code | ||
docs/ | ||
demos/obsolete/ | ||
sandbox/ | ||
SLURM/ | ||
use_cases/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
## Graphical interface | ||
|
||
<img src="docs/img/GUI_img.png" width="1000" align="center"> | ||
|
||
CaImAn comes with an experimental visual interface. To see an example on how use it, first load and run either | ||
* demo_OnACID_mesoscope.py | ||
* demo_caiman_basic.py | ||
* demo_pipeline.py | ||
|
||
Each of these demos will save a results file. You can then start the visual interface by running the following | ||
command from the base caiman folder (make sure you are within your caiman environment): | ||
``` | ||
ipython caiman/gui/gui_pyqtgraph_layout.py | ||
``` | ||
You will then be asked to load the file that is generated at the end of each file (ending in .hdf5) | ||
The associated .mmap files also need to be present in the same directory as the .hdf5 | ||
|
||
A visual interface will appear, where you will be able to: | ||
* regulate gain and contrast for the background image (correlation image) | ||
* regulate the threshold over the spatial masks to visualize components contours | ||
* click on neurons and see the corresponding trace and mask | ||
* select subset of neurons based on different quality metrics | ||
* save the resulting selection to a file in hdf5 format | ||
|
||
More features will be added in the future. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.