kushalkolar on master
update issue templates (compare)
@EricThomson Yup in general the same requirements as Caiman if you're using those modules.
CNMFE is more resource intensive than CNMF. If your imaging resolution is ~512x512 and your movies are shorter than 10 mins you might be able to get away with 32GB or less. For longer movies I think it's recommended to use CNMFE online anyways. Faster RAM and quad channel RAM also seems to help for both CNMFE and motion correction (quad channel is usually only availalbe on Xeon and Threadripper I think).
For certain downstream things like computing Earth Mover's Distances like in our papers, very high thread count (64+) is necessary for large datasets (thousands of traces) and the computation will take days. Similar for kshape clustering.
Use motion correction kwargs
box and manually add in pw_rigid=False
, and then just set the rigid correction params I want (and ignore the Elastic correction params)?
Got mesmerize installed onto an ubuntu linux box but can't get caiman to install... any thoughts on this error message? Installing collected packages: caiman
Running setup.py develop for caiman
ERROR: Command errored out with exit status 1:
command: /home/serapio/Desktop/mesmer/bin/python3.6 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/serapio/Desktop/mesmer/CaImAn/setup.py'"'"'; file='"'"'/home/serapio/Desktop/mesmer/CaImAn/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' develop --no-deps
cwd: /home/serapio/Desktop/mesmer/CaImAn/
Complete output (25 lines):
running develop
running egg_info
creating caiman.egg-info
writing caiman.egg-info/PKG-INFO
writing dependency_links to caiman.egg-info/dependency_links.txt
writing top-level names to caiman.egg-info/top_level.txt
writing manifest file 'caiman.egg-info/SOURCES.txt'
reading manifest file 'caiman.egg-info/SOURCES.txt'
adding license file 'LICENSE.txt'
writing manifest file 'caiman.egg-info/SOURCES.txt'
running build_ext
building 'caiman.source_extraction.cnmf.oasis' extension
creating build
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/caiman
creating build/temp.linux-x86_64-3.6/caiman/source_extraction
creating build/temp.linux-x86_64-3.6/caiman/source_extraction/cnmf
/opt/anaconda3/bin/x86_64-conda_cos6-linux-gnu-cc -DNDEBUG -g -fwrapv -O2 -Wall -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -pipe -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -fPIC -I/home/serapio/Desktop/mesmer/lib/python3.6/site-packages/numpy/core/include -I/home/serapio/Desktop/mesmer/include -I/usr/include/python3.6m -c caiman/source_extraction/cnmf/oasis.cpp -o build/temp.linux-x86_64-3.6/caiman/source_extraction/cnmf/oasis.o
In file included from /usr/include/python3.6m/Python.h:8:0,
from caiman/source_extraction/cnmf/oasis.cpp:26:
/usr/include/python3.6m/pyconfig.h:3:12: fatal error: x86_64-linux-gnu/python3.6m/pyconfig.h: No such file or directory
# include <x86_64-linux-gnu/python3.6m/pyconfig.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
error: command '/opt/anaconda3/bin/x86_64-conda_cos6-linux-gnu-cc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /home/serapio/Desktop/mesmer/bin/python3.6 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/serapio/Desktop/mesmer/CaImAn/setup.py'"'"'; file='"'"'/home/serapio/Desktop/mesmer/CaImAn/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' develop --no-deps Check the logs for full command output.
Transmission.from_hdf5
to load the data and access the pandas dataframe for any further analysis. http://docs.mesmerizelab.org/en/master/user_guides/flowchart/overview.html#transmission-files
fps
metadata I set for this dataset and the fr
stored in the data
dictionary in the parameters of the cnmf_data_dict.
I was wondering which frame rate is actually being used during cnmfe?
fr
. If you are using the batch manager through the mesmerize scripting interface you probably have to set the fr
manually for each file if it differs.