DriveSuma threshold by q value not p/t

Hi there,

I am using DriveSuma to automatically record images of a dataset.

I want to threshold the dataset to q = .001, but it appears I can only use surf_cont -T_val to set a t value e.g., "0.32" or p value "0.001p".

Is there an easy way to threshold to q = .001

Right now, all I can think of is to (before running drivesuma) undump the p values, sort them, work out the q that corresponds with p = .001, save the q value for each participant, then get this value later in my drivesuma script to T_val. But that seems quite complicated. Is there a better way?

If not, how would you recommend doing this?

Thank you for your help,

Harriet