Where communities thrive


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

    kushalkolar on master

    Update index.rst (compare)

  • Sep 21 01:53

    kushalkolar on master

    Update conf.py (compare)

  • Sep 21 01:50

    kushalkolar on master

    Update README.md (compare)

  • Sep 19 01:49
    kushalkolar closed #62
  • Sep 19 01:48
    kushalkolar closed #69
  • Sep 19 01:48
    kushalkolar closed #81
  • Sep 19 01:48
    kushalkolar closed #91
  • Sep 19 01:48
    kushalkolar closed #96
  • Sep 19 01:48
    kushalkolar closed #99
  • Sep 19 01:47
    kushalkolar closed #103
  • Sep 19 01:47
    kushalkolar closed #101
  • Sep 13 02:28
    kushalkolar closed #108
  • Sep 13 02:16
    Robkozol commented #108
  • Sep 12 22:05
    kushalkolar commented #108
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-> ?
Kushal Kolar
@kushalkolar
You can choose the data column you want to plot or work with in most flowchart nodes
Yes, LoadProjDF
Eric Thomson
@EricThomson
Ok thanks that's what I am doing. Let me look at the docs here I've just been doing the vids.
Eric Thomson
@EricThomson
Maybe it is an idiosyncratic problem with this one dataset as I'm getting 463: UserWarning: ROI does not contain the following data attribute: dfof_data
And the flowcharts are just not happy with anything I'm doing.
Kushal Kolar
@kushalkolar
that's just a userwarning that shows up whenever dfof data are missing
What does your flowchart look like?
Eric Thomson
@EricThomson
But the ROI manager is working fine. ¯\_(ツ)_/¯
Kushal Kolar
@kushalkolar
yup it's just a warning, not an exception
Eric Thomson
@EricThomson
Data to z score to heatmap
Kushal Kolar
@kushalkolar
If you can paste a screenshot I can see if something is weird
Eric Thomson
@EricThomson
First giveaway z score data column not giving any options
But I will post screenshot
image.png
Kushal Kolar
@kushalkolar
There's nothing coming out of the Load_Proj_DF node, if you click on it it'll show the message in the bottom panel
Eric Thomson
@EricThomson
That's embarrassing you are right. Columns must be same length as key (valueerror).
Kushal Kolar
@kushalkolar
strange, did you encounter issues while adding samples to the project?
Eric Thomson
@EricThomson
No everything is fine up through ROI manager. This is some strange data though (we have dendrites and I'm using some weird parameters for 1p data), but given that it looks very good.
Kushal Kolar
@kushalkolar
what does your project browser look like?
Eric Thomson
@EricThomson
It is empty.
Kushal Kolar
@kushalkolar
sorry if this is dumb question, but I'm assuming you went through this? http://docs.mesmerizelab.org/en/master/user_guides/viewer/add_to_project.html
Eric Thomson
@EricThomson
I'm sure I did something dumb
Kushal Kolar
@kushalkolar
After you have all your ROIs and annotations etc. in the viewer the way that you like it, you need to add the "Viewer work environment" to the "Project Dataset"
Eric Thomson
@EricThomson
I may have left out a step with this second project
ffs I'm sorry for wasting your time let me do this and then try
Kushal Kolar
@kushalkolar
No worries, Mesmerize is quite massive :)