Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Oct 27 2022 16:35
    kevbarb closed #109
  • Oct 27 2022 16:35
    kevbarb commented #109
  • Oct 26 2022 22:48
    kevbarb edited #109
  • Oct 26 2022 22:46
    kevbarb opened #109
  • Oct 24 2022 09:54
    JCKMes commented #99
  • Oct 11 2022 09:15
    kushalkolar commented #99
  • Sep 21 2022 01:54

    kushalkolar on master

    Update index.rst (compare)

  • Sep 21 2022 01:53

    kushalkolar on master

    Update conf.py (compare)

  • Sep 21 2022 01:50

    kushalkolar on master

    Update README.md (compare)

  • Sep 19 2022 01:49
    kushalkolar closed #62
  • Sep 19 2022 01:48
    kushalkolar closed #69
  • Sep 19 2022 01:48
    kushalkolar closed #81
  • Sep 19 2022 01:48
    kushalkolar closed #91
  • Sep 19 2022 01:48
    kushalkolar closed #96
  • Sep 19 2022 01:48
    kushalkolar closed #99
  • Sep 19 2022 01:47
    kushalkolar closed #103
  • Sep 19 2022 01:47
    kushalkolar closed #101
  • Sep 13 2022 02:28
    kushalkolar closed #108
  • Sep 13 2022 02:16
    Robkozol commented #108
  • Sep 12 2022 22:05
    kushalkolar commented #108
Kushal Kolar
@kushalkolar
@sdaste_gitlab thanks for telling me about this. Could you please post this on the issue tracker on GitHub? Also hard to read tracebacks in gitter
Instructions installation for v0.2 aren't up yet btw for Mac and Linux, might be a library issue so it'd still be great if you could post this on the issue tracker
Kushal Kolar
@kushalkolar
Hi everyone, video tutorials for Mesmerize are finally available! Links are here: https://github.com/kushalkolar/MESmerize#video-tutorials
Serapio M. Baca
@smbaca
Are there updated instructions for the mac/Anaconda install? I have caiman running fine in another environment but I get this error trying to install mesmerize with pip: (mesmerize)% pip install mesmerize
ERROR: Could not find a version that satisfies the requirement mesmerize (from versions: none)
ERROR: No matching distribution found for mesmerize
Kushal Kolar
@kushalkolar
try updating pip wheel & setuptools
5 replies
pip install --upgrade pip setuptools wheel
Eric Melonakos
@emelon8
Hi all, can Mesmerize import .avi files into the viewer for analysis? I saw this video (https://www.youtube.com/watch?v=a1UO2-OhIHw), so I know it's possible with some custom code, but I was wondering if it was already supported through the GUI.
Kushal Kolar
@kushalkolar
you can open an .avi video file as a numpy array using skvideo and then follow the rest here to load it in the Viewer. http://docs.mesmerizelab.org/en/master/user_guides/viewer/overview.html#open-image
you can use skvideo.io.vread, make sure to set as_grey to True http://www.scikit-video.org/stable/modules/generated/skvideo.io.vread.html#skvideo.io.vread
Kushal Kolar
@kushalkolar

We are holding a Mesmerize workshop on Dec 1st & Dec 2nd. For more informtaion please see:
https://www.janelia.org/sites/default/files/You%20%2B%20Janelia/Conferences/22.pdf

Register for the workshop by Nov 20 here:
https://www.janelia.org/you-janelia/conferences/from-images-to-knowledge-with-imagej-friends

kevinpan0127
@kevinpan0127
Hi!
I am trying to use the motion correction feature in mesmerize but I am getting an error saying File "c:\users\panyi\anaconda3\envs\mesmerize\lib\site-packages\mesmerize\viewer\modules\batch_run_modules\caiman_motion_correction.py", line 23, in <module>
import caiman as cm
ModuleNotFoundError: No module named 'caiman'
Kushal Kolar
@kushalkolar
Hi @kevinpan0127, replied to your issue on github
kevinpan0127
@kevinpan0127
Hi @kushalkolar, I am now trying to run the CNMF module and i am getting getting stuck with the following message:

RuntimeError:
An attempt has been made to start a new process before the
current process has finished its bootstrapping phase.

    This probably means that you are not using fork to start your
    child processes and you have forgotten to use the proper idiom
    in the main module:

        if __name__ == '__main__':
            freeze_support()
            ...

    The "freeze_support()" line can be omitted if the program
    is not going to be frozen to produce an executable.

===== 2020.12.27 20:12:44 =====

Is there something that I am doing incorrectly? Thank you!
Kushal Kolar
@kushalkolar
@kevinpan0127 This seems like a Windows multiprocessing issue, can you post and issue with the entire traceback
VivoNeuro
@VivoNeuro
Hi,
I am just installing (win10) mesmerize following the steps on Read the Docs. I did all the 10 steps except 6 (pip install bottleneck==1.2.1, here it sent me a message: Microsoft Visual C++ 14.0 or greater is required; but these 5-6 steps are optional). When I tried to launch mesmerize it sent me: ModuleNotFoundError: No module named 'tslearn.cycc'. Could you help me? Thank you
16 replies
Bilalgp
@Bilalgp
I am having trouble displaying the dF/F in the ROI Manager. Do you know how I can troubleshoot?
image.png
Kushal Kolar
@kushalkolar
you must compute them first, it's one of the caiman modules
Bilalgp
@Bilalgp
Thanks! @kushalkolar !
Is there a way to show rejected components in the ROI manager?
Kushal Kolar
@kushalkolar
@Bilalgp there currently isn't but if you make a feature request on the issue tracker I'll look into it for a future version of mesmerize :)
Bilalgp
@Bilalgp
Great thanks.
I also just noticed for a dataset, the ROIs for the caiman HDF5 file aren't correctly matching with that in Mesmerize (traces are correctly numbered but being for the wrong ROI on the map). I am not sure if this problem is because of my Caiman pipeline so I'll investigate but I thought I should let you know.
1 reply
kevinpan0127
@kevinpan0127
@kushalkolar I was wondering how should I update v0.5.0? thank you very much!
sneezeman
@sneezeman
Hello there!
I'm trying to follow the youtube tutorials, but so far I can't reproduce even the first steps: stimulus import/export and batch motion correction
I'm on Ubuntu 18.04.3, used pip to install mezmerise.
So, problems: when I click on export/import buttons in Stimulus Mapping window, nothing happens, and no error is shown in the console. Otherwise, the Stimulus Mapping works.
With batch processing I can add the tasks, but when I click Start, it looks like it starts to work, but no output appears in the additional console. Again, no errors in the main console.
@sneezeman I've also checked that caiman works in this environment, and it does work
Kushal Kolar
@kushalkolar
@sneezeman the import & export buttons on the stimmapping module are not functional, you can import stimmaps from sources such as csv/xls files using the script editor or enter a stimmap manually.
@sneezeman for the batch manager, make sure your system configuration is setup properly. See the steps at the end of the installation for details.
Bilalgp
@Bilalgp
Hi. I am interested in tracking a specific ROI generated from Caiman on more videos besides the boundaries used in generating that ROI. Is there any way to do this in Mesmerize?
Kushal Kolar
@kushalkolar
@Bilalgp Do you mean that you want to use the ROIs from one video's CNMF(E) output to see the ROIs for performing CNMF(E) on other videos?
Kushal Kolar
@kushalkolar
@Bilalgp
You can seed a CNMF(E) batch item by either:
  1. Passing the UUID of a prior batch item in the same batch to the Ain entry in the CNMF(E) module GUI.
  2. Saving a sparse mask (that can be loaded through numpy.load() in the batch dir with the filename: <item_uuid>.ain
Bilalgp
@Bilalgp
Apologies for the late response. Thank you for the prompt reply. Just to clarify, for the Caiman functions, I should a previous generated Ain variable into the Ain entry in a new analysis? Should the previous Ain variable be loaded from the cnmf class?
Kushal Kolar
@kushalkolar

@Bilalgp
For CNMF:
If you have an Ain array from a cnmf object, just save it using numpy.save(), and place it in the batch path with the filename: <uuid>.ain and check the "Seed components from mask" checkbox in the CNMF params GUI.

For CNMFE:
Currently you can only use ROIs from a previous CNMFE item that already exists in the batch manager. Just enter the UUID of the previous item in the Ain line entry.

14 replies
Bilalgp
@Bilalgp
image.png
kir0ul
@kir0ul:matrix.org
[m]
Hi there, quick question: can I export ROIs and calcium traces with Mesmerize? And if yes in which format(s)?
Kushal Kolar
@kushalkolar
@kir0ul:matrix.org Do you want to save it to a mesmerize project or do you just want to save the work environment in the viewer?
9 replies
kir0ul
@kir0ul:matrix.org
[m]
I'll have a look at that, thanks @kushalkolar!
Kushal Kolar
@kushalkolar
We have an importable VM that you can use to get up & running with Mesmerize within minutes if you don't want to setup virtual/conda envs etc. http://docs.mesmerizelab.org/en/master/user_guides/installation.html#all-platforms
1 reply
Eric Thomson
@EricThomson
In the ROI manager is 'curve data' the rows of C from the caiman estimates class?
Kushal Kolar
@kushalkolar
@EricThomson Yes, and spikes is from S
Eric Thomson
@EricThomson
Thanks. If I pull data from a cnmfe result using the flowchart will it automatically default to C? I'm having a flowchart where it seems to not be finding data, a case where I didn't calculate dff. But not sure if that's the issue or not. :)
But in my initial test project it worked when I did calculate dff.
Kushal Kolar
@kushalkolar
_RAW_CURVE will be C
Eric Thomson
@EricThomson
Ah cool thanks let me give it a go :)
Kushal Kolar
@kushalkolar
If dF/Fo isn't available it just throws a warning but you can work with the raw curve or spikes (i.e. estimates.C or S if from CNMF)
Eric Thomson
@EricThomson
Would I click add node->data-> ?