Giter Club home page Giter Club logo

calblitz's People

Contributors

agiovann avatar deep-introspection avatar epnev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

calblitz's Issues

ZeroDivisionError in computeDFF

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

segmentation fault error in Ubuntu 15

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?

test_software.py error

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.