Skip to content

Question regarding running the package #78

@ShreyasFadnavis

Description

@ShreyasFadnavis

Hi @ilogue,

I am trying to run the code as follows, but am unable to do so. Here is a sample of how I am trying to do it:

from glmdenoise import GLMdenoise
from dipy.io.image import load_nifti
import pandas as pd

design = pd.read_csv("/fmri_Denoise/sub-01_ses-retest_func_sub-01_ses-retest_task-linebisection_events.tsv", sep='\t')
data, affine = load_nifti('/fmri_Denoise/sub-01_ses-retest_func_sub-01_ses-retest_task-covertverbgeneration_bold.nii.gz')

gd = GLMdenoise()
gd.fit(design, data, tr=2.0)
gd.plot_figures()

Is there something I am missing? I am using the data you mentioned in the README : https://openneuro.org/datasets/ds000114/versions/1.0.1

My guess is that I should not use pandas to load the tsv?

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions