Comments (12)
B0FieldIdentifier | RECOMMENDED | string or array of strings
Aha, I didn't know this, I'll see what I can do
from bidscoin.
Please reopen if things are not working for you
from bidscoin.
I'm not sure if I understand the problem, as the BIDS specification defines just a single tag, not a list, right? So
B0FieldSource:
- tag1
- tag2
- tag3
should be converted to
B0FieldSource: tag1tag2tag3
???
from bidscoin.
BIDS specification says that it's a string or an array of strings. I don't really know how tools should use it, but with IntendedFor
we can say that we use three fieldmaps for one functional image.
from bidscoin.
I guess you can pass a list like this?
B0FieldSource: [magnetude1, magnetude2, phasediff]
from bidscoin.
Should be fine but it shouldn't matter both forms are correct syntax.
from bidscoin.
Yes I know, but I mean that's how you can pass it in the bidseditor?
from bidscoin.
Ah, I'm not using the BIDS editor 🙈 But if I did, I'd be fine with the compact syntax.
from bidscoin.
I just tested it and, except for the <<session>>
value, it worked just fine? In the template I did:
meta: &fmap_meta
B0FieldIdentifier: [tag1, <<session>>tag2]
And then I got this in the json sidecar file:
"B0FieldIdentifier": [
"tag1",
"<<session>>tag2"
]
from bidscoin.
Looks fine to me. I can try to test more next week (with the <<session>>
tag) as we're planning to upgrade to BIDScoin 4.3.0 and test some mappings.
from bidscoin.
Actually, entering [tag1, <<session>>tag2]
in the bidseditor is interpreted as a string, so that doesn't work (but then <<session>>
does), giving for sub-001_ses-01_acq-fieldmap2p4iso_magnitude1.json
:
"B0FieldIdentifier": "[tag1, 01tag2]"
from bidscoin.
NB: passing ["tag1", '<<session>>tag2']
in the bidseditor correctly (besides <<session>>
) gives:
"B0FieldIdentifier": [
"tag1",
"<<session>>tag2"
]
from bidscoin.
Related Issues (20)
- Using `PhaseEncodingDirection` field to distinguish sequences HOT 6
- Add easy to check output with information on what source was converted to what BIDS files HOT 13
- Derivatives data HOT 4
- Add CSA header support HOT 9
- bidscoiner function leaves out every sequence HOT 65
- Clicking on item in bidsmapper GUI crashes program HOT 1
- Make a bids2bids template bidsmap
- Bidsmap schema doesn't require meta key in plugin HOT 17
- Can path to .bidscoin be configured? HOT 62
- Exclude sections behaves weirdly HOT 53
- IndexError: string index out of range in dcm2niix2bids.py HOT 6
- New BIDS feature of dcm2niix HOT 2
- Postfix error HOT 9
- typo in nibabel2bids.py HOT 1
- Quickly add common tags in BIDSMapper/editor HOT 2
- Unable to find dicoms in the tmp directory that the program creates HOT 2
- Merge all bidsapps to a single bidscoin bidsapp HOT 1
- Add a user-friendly way to handle bidsmapping exceptions HOT 1
- Do not "over-write" README HOT 3
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 bidscoin.