Discussion: meetings/2026-05-12 #153
Replies: 14 comments 17 replies
-
|
This is the pipeline for this preliminary analysis: |
Beta Was this translation helpful? Give feedback.
-
|
from the current manuscript., this is the current metrics we extract from the raw data to check data quality.
|
Beta Was this translation helpful? Give feedback.
-
|
access to S3 is introduced here : https://docs.google.com/presentation/d/16pukgoNJ8y2fFwfE9ErGTLTxn81HCSLickkPncqPWb0/edit?slide=id.g3de82949ca6_2_176#slide=id.g3de82949ca6_2_176 |
Beta Was this translation helpful? Give feedback.
-
|
Here is an example qc file generated by the 2p processing pipeline : https://open.quiltdata.com/b/aind-open-data/tree/multiplane-ophys_846289_2026-04-13_11-49-19_processed_2026-04-14_09-14-44/quality_control.json |
Beta Was this translation helpful? Give feedback.
-
|
@Alishamsnia, I went through your document. This is a great start!
I am sure there a number of additional SNR metrics that could be build upon for event detection or such. |
Beta Was this translation helpful? Give feedback.
-
|
I talked to my students (Ali and Davis) about QC for mesoscope data. We came up with this detailed plan for QC. Please read it and let us know if we should proceed with developing this script. They will develop a script that gives the following: Plane level:
Within each plane, then we go through individual neurons and show the following:
|
Beta Was this translation helpful? Give feedback.
-
|
This makes sense to me
It would be nice to consider cross session alignement too. So perhaps the
FOV view could be displayed on a row for the planes in the same area and
depth ?
What do you think?
*Jérôme*
…On Wed, May 20, 2026 at 1:00 PM Farzaneh Najafi ***@***.***> wrote:
@jeromelecoq <https://github.com/jeromelecoq>
I talked to my students (Ali and Davis) about QC for mesoscope data.
We came up with this detailed plan for QC. Please read it and let us know
if we should proceed with developing this script.
They will develop a script that gives the following:
*Plane level:*
1. FOV with all overlayed ROIs
- Title: Number of ROIs
2. Distribution of ROI sizes
3. Distribution of soma/dendrite probability
- Note: we can also add a metric for how round/elongated the ROI shape
is.
Within each plane, then we go through individual neurons and show the
following:
*Neuron level:*
For each neuron show:
1. FOV, with that specific neuron marked
- Title: ROI size and soma/dendrite probability
2. show DFF
- Title: DFF drift, computed as early vs late median DFF
3. Show OASIS noise distribution
- Title: is it gaussian, show R^2
4. Average calcium transient
- get spikes from OASIS, and compute average calcium transients,
across spikes
5. Stimulus-aligned DFF average across trials
- Title: AUC in a 500ms after stimulus
- NOTE: this is with the assumption that the neuron is stimulus
responsive [which may not be true for all brain areas]
@Alishamsnia <https://github.com/Alishamsnia> @davisgrubin
<https://github.com/davisgrubin>
—
Reply to this email directly, view it on GitHub
<#153 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AATAHT3YDB2VRYFCT5ZYH4T43YFF5AVCNFSM6AAAAACY24MJGCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTMOJZGUYTSOI>
.
You are receiving this because you were mentioned.Message ID:
<AllenNeuralDynamics/openscope-community-predictive-processing/repo-discussions/153/comments/16995199
@github.com>
|
Beta Was this translation helpful? Give feedback.
-
|
Just to confirm , by session you mean each plane? So we have 8 sessions in
a day , 4 per area. Correct ?
I’ll ask ali and Davis to start working on the script.
On Wed, May 20, 2026 at 10:26 PM Jérôme Lecoq ***@***.***>
wrote:
… This makes sense to me
It would be nice to consider cross session alignement too. So perhaps the
FOV view could be displayed on a row for the planes in the same area and
depth ?
What do you think?
*Jérôme*
On Wed, May 20, 2026 at 1:00 PM Farzaneh Najafi ***@***.***>
wrote:
> @jeromelecoq <https://github.com/jeromelecoq>
>
> I talked to my students (Ali and Davis) about QC for mesoscope data.
>
> We came up with this detailed plan for QC. Please read it and let us
know
> if we should proceed with developing this script.
>
> They will develop a script that gives the following:
>
> *Plane level:*
>
> 1. FOV with all overlayed ROIs
>
>
> - Title: Number of ROIs
>
>
> 2. Distribution of ROI sizes
> 3. Distribution of soma/dendrite probability
>
>
> - Note: we can also add a metric for how round/elongated the ROI shape
> is.
>
> Within each plane, then we go through individual neurons and show the
> following:
> *Neuron level:*
> For each neuron show:
>
> 1. FOV, with that specific neuron marked
>
>
> - Title: ROI size and soma/dendrite probability
>
>
> 2. show DFF
>
>
> - Title: DFF drift, computed as early vs late median DFF
>
>
> 3. Show OASIS noise distribution
>
>
> - Title: is it gaussian, show R^2
>
>
> 4. Average calcium transient
>
>
> - get spikes from OASIS, and compute average calcium transients,
> across spikes
>
>
> 5. Stimulus-aligned DFF average across trials
>
>
> - Title: AUC in a 500ms after stimulus
> - NOTE: this is with the assumption that the neuron is stimulus
> responsive [which may not be true for all brain areas]
>
> @Alishamsnia <https://github.com/Alishamsnia> @davisgrubin
> <https://github.com/davisgrubin>
>
> —
> Reply to this email directly, view it on GitHub
> <
#153 (comment)>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AATAHT3YDB2VRYFCT5ZYH4T43YFF5AVCNFSM6AAAAACY24MJGCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTMOJZGUYTSOI>
> .
> You are receiving this because you were mentioned.Message ID:
>
<AllenNeuralDynamics/openscope-community-predictive-processing/repo-discussions/153/comments/16995199
> @github.com>
>
—
Reply to this email directly, view it on GitHub
<#153 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADTJ7QX3AHWQKHLHO5A27KT43ZSPBAVCNFSM6AAAAACY24MJGCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTMOJZHA2DCNI>
.
You are receiving this because you were mentioned.Message ID:
<AllenNeuralDynamics/openscope-community-predictive-processing/repo-discussions/153/comments/16998415
@github.com>
|
Beta Was this translation helpful? Give feedback.
-
|
I mean a session is a recording day. Each mesoscope set of 8 imaging planes
is recorded 8 times with cell matching
*Jérôme*
On Wed, May 20, 2026 at 8:33 PM Farzaneh Najafi ***@***.***>
wrote:
… Just to confirm , by session you mean each plane? So we have 8 sessions in
a day , 4 per area. Correct ?
I’ll ask ali and Davis to start working on the script.
On Wed, May 20, 2026 at 10:26 PM Jérôme Lecoq ***@***.***>
wrote:
> This makes sense to me
> It would be nice to consider cross session alignement too. So perhaps
the
> FOV view could be displayed on a row for the planes in the same area and
> depth ?
>
> What do you think?
>
>
> *Jérôme*
>
> On Wed, May 20, 2026 at 1:00 PM Farzaneh Najafi ***@***.***>
> wrote:
>
> > @jeromelecoq <https://github.com/jeromelecoq>
> >
> > I talked to my students (Ali and Davis) about QC for mesoscope data.
> >
> > We came up with this detailed plan for QC. Please read it and let us
> know
> > if we should proceed with developing this script.
> >
> > They will develop a script that gives the following:
> >
> > *Plane level:*
> >
> > 1. FOV with all overlayed ROIs
> >
> >
> > - Title: Number of ROIs
> >
> >
> > 2. Distribution of ROI sizes
> > 3. Distribution of soma/dendrite probability
> >
> >
> > - Note: we can also add a metric for how round/elongated the ROI shape
> > is.
> >
> > Within each plane, then we go through individual neurons and show the
> > following:
> > *Neuron level:*
> > For each neuron show:
> >
> > 1. FOV, with that specific neuron marked
> >
> >
> > - Title: ROI size and soma/dendrite probability
> >
> >
> > 2. show DFF
> >
> >
> > - Title: DFF drift, computed as early vs late median DFF
> >
> >
> > 3. Show OASIS noise distribution
> >
> >
> > - Title: is it gaussian, show R^2
> >
> >
> > 4. Average calcium transient
> >
> >
> > - get spikes from OASIS, and compute average calcium transients,
> > across spikes
> >
> >
> > 5. Stimulus-aligned DFF average across trials
> >
> >
> > - Title: AUC in a 500ms after stimulus
> > - NOTE: this is with the assumption that the neuron is stimulus
> > responsive [which may not be true for all brain areas]
> >
> > @Alishamsnia <https://github.com/Alishamsnia> @davisgrubin
> > <https://github.com/davisgrubin>
> >
> > —
> > Reply to this email directly, view it on GitHub
> > <
>
#153 (comment)>,
>
> > or unsubscribe
> > <
>
https://github.com/notifications/unsubscribe-auth/AATAHT3YDB2VRYFCT5ZYH4T43YFF5AVCNFSM6AAAAACY24MJGCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTMOJZGUYTSOI>
>
> > .
> > You are receiving this because you were mentioned.Message ID:
> >
>
<AllenNeuralDynamics/openscope-community-predictive-processing/repo-discussions/153/comments/16995199
>
> > @github.com>
> >
>
> —
> Reply to this email directly, view it on GitHub
> <
#153 (comment)>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/ADTJ7QX3AHWQKHLHO5A27KT43ZSPBAVCNFSM6AAAAACY24MJGCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTMOJZHA2DCNI>
> .
> You are receiving this because you were mentioned.Message ID:
>
<AllenNeuralDynamics/openscope-community-predictive-processing/repo-discussions/153/comments/16998415
> @github.com>
>
—
Reply to this email directly, view it on GitHub
<#153 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AATAHT5XPBTK7FUZYBUAOVT43Z2JTAVCNFSM6AAAAACY24MJGCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTMOJZHA4DONA>
.
You are receiving this because you were mentioned.Message ID:
<AllenNeuralDynamics/openscope-community-predictive-processing/repo-discussions/153/comments/16998874
@github.com>
|
Beta Was this translation helpful? Give feedback.
-
|
Here's the link to my GitHub: https://github.com/Dedalus9/openscope-ophys-qc.git . It builds on code originally developed by @Alishamsnia, is designed for others to use, and loads data from AWS. The repository includes a notebook for loading single or multiple ophys sessions. I am currently extending this pipeline to generate quality control figures, including metrics to track movement artifacts across sessions. I could also replicate some of the figures suggested by @farznaj as an additional validation check. @jeromelecoq I'd be happy to discuss the results next Tuesday if that works. |
Beta Was this translation helpful? Give feedback.
-
|
Sounds good. Is the plan still that my students also work on QC? Asking so
we avoid doing overlapping work and can optimize our efforts.
…On Wed, May 27, 2026 at 9:21 AM Nicholas Adam Rodriguez < ***@***.***> wrote:
Here's the link to my GitHub:
https://github.com/Dedalus9/openscope-ophys-qc.git . I put together the
GitHub for others to use. In it, there is a notebook for loading single or
multiple sessions. I am currently working on quality control figures,
extending this notebook. I am currently working on generating quality
control figures, e.g., figures to track movement artifacts across sessions.
I could also replicate some of the figures suggested by @farznaj
<https://github.com/farznaj> to provide an additional check. @jeromelecoq
<https://github.com/jeromelecoq> Perhaps I could discuss my results next
Tuesday?
—
Reply to this email directly, view it on GitHub
<#153?email_source=notifications&email_token=ADTJ7QVSOFU7FH3MC72QJJT443TXPA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCNZQG43DANJQUZZGKYLTN5XKO3LFNZ2GS33OUVSXMZLOOSWGM33PORSXEX3DNRUWG2Y#discussioncomment-17076050>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADTJ7QR3DH2SY6U6A7APJZD443TXPAVCNFSM6AAAAACY24MJGCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTOMBXGYYDKMA>
.
You are receiving this because you were mentioned.Message ID:
<AllenNeuralDynamics/openscope-community-predictive-processing/repo-discussions/153/comments/17076050
@github.com>
|
Beta Was this translation helpful? Give feedback.
-
|
Hi @Dedalus9 , I will take a look at your notebook and see what has already been done and what figures @farznaj recommended in her previous comment and see what the overlap / difference is. I was planning on doing those for next week's meeting as well, so probably good to make sure we aren't duplicating work? |
Beta Was this translation helpful? Give feedback.
-
|
Ok done
*Jérôme*
…On Fri, May 29, 2026 at 12:49 PM Nicholas Adam Rodriguez < ***@***.***> wrote:
Yes, do add me to the schedule.
—
Reply to this email directly, view it on GitHub
<#153?email_source=notifications&email_token=AATAHT3S7ORFFEGR4F6OQ2D45HSULA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCNZRGA4TKMBRUZZGKYLTN5XKO3LFNZ2GS33OUVSXMZLOOSWGM33PORSXEX3DNRUWG2Y#discussioncomment-17109501>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AATAHT2UYALEE26ZBHIIMQ345HSULAVCNFSM6AAAAACY24MJGCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTOMJQHE2TAMI>
.
You are receiving this because you were mentioned.Message ID:
<AllenNeuralDynamics/openscope-community-predictive-processing/repo-discussions/153/comments/17109501
@github.com>
|
Beta Was this translation helpful? Give feedback.
-
|
@Dedalus9 @davisgrubin nicholas, could you share what you already have? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
@jeromelecoq @farznaj
Hey, I started some preliminary analysis for single-session ROI quality control for Calcium imaging data.
You can find the complete pipeline explanation, along with the related figures for one example session, here:
QC_report.pdf







Beta Was this translation helpful? Give feedback.
All reactions