Python tool(s) for measuring area under curve

nitime
nilearn
#1

Hello,

I’ve finished processing my data with fmriprep, and am using FSL’s fslmeants to extract the mean time series of one of my ROIs from the Harvard Oxford Atlas. I’m trying to assess whether there’s any habituation effects in my data (affective stimuli), so I’m trying to the find of the area under the curve of the BOLD signal for each trial. I was wondering if there are any python-based tools that can assist in this? I was looking around at nitime and nilearn, but an unsure if either of these would work. It is possible to find AUC with one of these?

Thanks for the help.

#2

I think you can do that with scikit-learn
https://scikit-learn.org/stable/modules/classes.html#module-sklearn.metrics

1 Like
#3

Thanks, I’ll check it out to see if I can use it properly.