Comments (2)
Hi Maarten,
Thanks a lot for your suggestion. I would replace my FD awk calculation with python code and also discuss the mcflirt and use of afni 3dcalc issue in our developer's meeting. We were not using nibabel to save the nifti file because it changes the header information of the nifti file. Also, 3dcalc is much faster than doing it with python. So we decided to keep it. Thanks for your points and helping us improve the cpac workflows.
from c-pac.
Hi Ranjit,
thanks for following up. What header information does it alter then? I did some quick comparisons and if I use the following:
temp_image = nb.Nifti1Image(data, affine=img.get_affine(), header=img.get_header())
then I can't see any change in the header (using fslhd and 3dinfo, except for the identifier code).
Looks like you are right regarding the speed of 3dcalc, quick test:
3dcalc: 6.2 seconds
nibabel save: 10.4 seconds
from c-pac.
Related Issues (20)
- āØ Certain functional preproc nodeblocks should have their own switches
- š· Test Apptainer / Singularity images in CI HOT 1
- š .proc-* files get saved in current working directory HOT 2
- š½ļø Make change from `click` vā„7.0 backwards-compatible
- š½ļø Google Analytics 4 is replacing Universal Analytics. On July 1, 2023 all standard Universal Analytics properties will stop processing data.
- āØ Adapt safer shell calls HOT 1
- š· Use "Docker Metadata Action" to handle semver & branch tags
- š½ļø Ubuntu 18.04 LTS 'Bionic Beaver' reached EOL on May 31, 2023 HOT 1
- šØ Replace NodeBlock function parameters with a dataclass
- š¦ļø Build AFNI without SUMA HOT 1
- š¦ļø Reduce FSL 6 size HOT 3
- š§± Make all multi-stage staging images branch specific
- āØ Utility which can parse all NodeBlocks and produce a catalog
- āØ Easier way for users to get a blank config and modify quickly
- š `create_nuisance_regression_workflow`: `TypeError: 'NoneType' object is not subscriptable`
- š ndmg pipeline stalls indefinitely in anat_skullstrip
- āØ Better error reporting when CSF mask is empty
- š Using the unfiltered head motion parameters (rotation and translation) for nuisance regression even for forks with the filter on? HOT 2
- āØ Re-align CPAC:fmriprep-options preconfig to fmriprep LTS
- š `[smoothed, unsmoothed]` not forking HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from c-pac.