Coder Social home page Coder Social logo

Comments (2)

kytk avatar kytk commented on July 21, 2024

@Abhijotsinghsidhu

Thank you for asking.

Modifications to script

I prepare individual-fix.sh to set some parameters such as slice timing correction or smoothing fwhm.

In Docker container, please do the following;

cd
cp /usr/local/bin/individual-fix.sh  my_individual-fix.sh

Now you see my_individual-fix.sh in your directory you bind to the docker.
(I did not install any text editors except for vi, so if you are not familiar with vi, please use your editor from your host machine.)

In the beginning of the script, you will see the following lines;

###Configuration#######################################

#Set FWHM
fwhm=5

#Set the number of volumes to be deleted (dummy volume)
delvol=4

#Slice timing correction
# 0 : None
# 1 : Regular up (0, 1, 2, 3, ...)
# 2 : Regular down
# 3 : Use slice order file
# 4 : Use slice timings file
# 5 : Interleaved (0, 2, 4 ... 1, 3, 5 ... )
st=1
######################################################

You can change the parameter as you wish.
For example, if you want to set FWHM=6, change fwhm=5 to fwhm=6

As of slice timing correction, you can choose the number to indicate what kind of slice timing correction should be made.

After editing the script, you can run

bash my_individual-fix.sh F_*.nii.gz

then everything should run with your settings.

running FIX alone

This is very simple. Please run the following command. I suppose you bind the directory which contains *.ica (melodic output)

fix your_data.ica /usr/local/fix/training_files/Standard.RData 20 -m

Hope this helps,

Kiyotaka

from docker-fix.

Abhijotsinghsidhu avatar Abhijotsinghsidhu commented on July 21, 2024

@kytk Thank you so much! This helps immensely.

Abhi

from docker-fix.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.