Python tool(s) for measuring area under curve



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.


I think you can do that with scikit-learn

1 Like

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