Is this possible to use brainstorm to do coherence analysis of fMRI data?

Hi, I'm fresh in coherence analysis.
I had seen many introductions of coherence in eeg/Meg researches but it's rare in fMRI .
Unfortunately, I should do inter brain coherence analysis from now on.
So, I wonder know is this possible to use brainstorm to do coherence analysis of fMRI data?
Hope someone can give me some advices, thx.

Brainstorm is not an application adapted for importing and processing fMRI data.

You need to compute something like the coherence between the BOLD signal in two ROIs?
If so, once you have computed you signals, you could use the low-level coherence computation function in Brainstorm, from a custom Matlab script.

Thank you very much,that's what I want to do.
May I have two more questions?
Is the input data from roi mask that made by GLM?
And,is there a sample file of the input data that can help me to understand data format precisely?

Sincerely, thank you again.

Is the input data from roi mask that made by GLM?

I'm not sure what this means.
We have no experience with fMRI at all, so I'm not sure we can help you obtaining the signals you want to process, or whether it makes sense to apply any of the Brainstorm functions on them.

And,is there a sample file of the input data that can help me to understand data format precisely?

You mean: for the inputs of the function bst_cohn_2021?
What is it that you don't understand in the inputs description?

Cell array of signals {[nSignals1, nSamples1], [nSignals2, nSamples2], ...}
nsignal: means bold signal value.
nsamples: means numbers of sampling points.
Is my understanding right?

Exactly.

ok, I get it. Thank you very much.