Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for numpy array is input. #25

Open
SebastianVolkmer opened this issue Mar 28, 2024 · 1 comment
Open

Add support for numpy array is input. #25

SebastianVolkmer opened this issue Mar 28, 2024 · 1 comment

Comments

@SebastianVolkmer
Copy link

Hi,
given your provided code:

measure = SLIDING_WINDOW(**params_methods)
dFC = measure.estimate_dFC(time_series=BOLD)

It would seem easier if that function also works with a simple numpy array containing the channels and time series, without needing, for example, a subject list. This would also simplify the integration of a nilearn workflow.

Thanks and best wishes

@mtorabi59
Copy link
Collaborator

Hi @SebastianVolkmer ,

Thank you so much for bringing this up. I agree with you that if these functions were able to handle a simple numpy array, it would be much more convenient. However, since the whole toolbox is designed to work with particular classes like TIME_SERIES and DFC, and these classes require more information than only the BOLD time series values, as the information is actually necessary for the dFC assessment process and the subsequent analyses, it is not possible to include such option. Nevertheless, we will consider your suggestion and will think of a way to implement it!

Thanks a lot for using PydFC!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants