Hi Ben
As for a successful FIR analysisi workflow:
# Node: SpecifyModel - Generate SPM-specific design information
modelspec = engine.Node(interface=model.SpecifySPMModel(), name=
"modelspec")
modelspec.inputs.concatenate_runs = False
modelspec.inputs.input_units = 'secs'
modelspec.inputs.output_units = 'secs'
modelspec.inputs.time_repetition = 2.
modelspec.inputs.high_pass_filter_cutoff = 128
# Node: Level1Design - Generate a first level SPM.mat file for analysis
level1design = engine.Node(interface=spm.Level1Design(), name=
"level1design")
level1design.inputs.bases = {'fir':{'derivs': [0,0]}}
level1design.inputs.timing_units = 'secs'
level1design.inputs.interscan_interval = modelspec.inputs.time_repetition
level1design.inputs.model_serial_correlations = 'AR(1)'
Can you be more specific what you mean by including 10 TRs per event and
only using 206 in the contrast? is 10 TRs your trial duration?
You could specify a covariate comprising onsets of the trial and a
second one comprising TRs 2-6 for every condition for example.
Working with a design-matrix comprising information in seconds instead
of TRs might already solve the problems you run into...
Let me know if that helps or if you have more questions
Eveline
> --
>
> ---
> You received this message because you are subscribed to the Google
> Groups "NiPy Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
nipy-user+...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
--
---------------------
Dr. Eveline Geiser
Massachusetts Institute of Technology
McGovern Institute for Brain Research
Phone: +
617-324-6371
e-mail:
ege...@mit.edu
http://web.mit.edu/gabrieli-lab