agiovann / calblitz Goto Github PK
View Code? Open in Web Editor NEWBlazing fast calcium imaging analysis toolbox
License: GNU General Public License v3.0
Blazing fast calcium imaging analysis toolbox
License: GNU General Public License v3.0
Hi!
thanks to have created this very nice project. I am getting into it and would be much happy to contribute.
For now, I made some corrections in the README and try to make the test_software.py to work.
After minor adjustment, I end up with the script running well until the call of computeDFF
.
Here a ZeroDivisionError since the downsampfact
variable in computeDFF
is set that way:
downsampfact=int(secsWindow*1./self.fr);
which set to zero since self.fr~15
I tried to remove the integer cast but then other error appear...
What would be the proper way to repair this?
Cheers,
Guillaume
Upon import calblitz in python I always get the error 'segmentation fault (core dumped)' using Ubuntu 15.10. Anybody else run into this issue?
It seems to originate somewhere with numpy but I cannot for the life of me figure out what is wrong. Changing the version of numpy doesn't seem to change anything. When I run using GDB I get the following....
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff1abae20 in PyArray_API ()
from /home/francisco/anaconda2/lib/python2.7/site-packages/numpy/core/multiarray.so
Any ideas? Anybody successfully using CalBlitz with Ubuntu 15?
Just installed and tried running the test.
(calblitz) afonsob-lm1:CalBlitz afonsob$ python test_software.py
loading movie...
motion correcting...
/Users/afonsob/CalBlitz/calblitz/movies.py:194: UserWarning: Casting the array to float 32
warnings.warn('Casting the array to float 32')
Frame 100
Frame 200
Frame 300
Frame 400
/Users/afonsob/CalBlitz/calblitz/movies.py:284: UserWarning: Casting the array to float 32
warnings.warn('Casting the array to float 32')
cubic interpolation
Frame 100
Frame 200
Frame 300
Frame 400
Frame 100
Frame 200
Frame 300
Frame 400
Frame 500
Frame 600
Frame 700
Frame 800
Frame 900
Frame 1000
Frame 1100
Frame 1200
Frame 1300
Frame 1400
cubic interpolation
Frame 100
Frame 200
Frame 300
Frame 400
Frame 500
Frame 600
Frame 700
Frame 800
Frame 900
Frame 1000
Frame 1100
Frame 1200
Frame 1300
Frame 1400
Frame 100
Frame 200
Frame 300
Frame 400
Frame 500
Frame 600
Frame 700
Frame 800
Frame 900
Frame 1000
Frame 1100
Frame 1200
Frame 1300
Frame 1400
cubic interpolation
Frame 100
Frame 200
Frame 300
Frame 400
Frame 500
Frame 600
Frame 700
Frame 800
Frame 900
Frame 1000
Frame 1100
Frame 1200
Frame 1300
Frame 1400
Traceback (most recent call last):
File "test_software.py", line 38, in
m=m.crop(crop_top=max_h,crop_bottom=-min_h+1,crop_left=max_w,crop_right=-min_w,crop_begin=0,crop_end=0)
File "/Users/afonsob/CalBlitz/calblitz/movies.py", line 396, in crop
return self[crop_begin:t-crop_end,crop_top:h-crop_bottom,crop_left:w-crop_right]
TypeError: slice indices must be integers or None or have an index method
if tifffile.__version__ < '0.7.0':
raise Exception('You need libtiff version >= 0.7.0, run pip install tifffile --upgrade')
This lexicographical comparison should be changed now that tiffile has hit version 0.10.0 -- maybe a package such as described at http://stackoverflow.com/questions/11887762/compare-version-strings ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.