Skip to content

EchoTime should not be converted to milliseconds #137

@astewartau

Description

@astewartau

The EchoTime DICOM field stores a value in milliseconds, but BIDS specifies it in seconds.

When ezBIDS reads NIfTI images + JSON sidecars, it multiplies the EchoTime by 1,000. This scaling should not be necessary since most tools producing the sidecars (e.g. dcm2niix) already convert from milliseconds to seconds. The scaling probably should be removed, as it results in an incorrect conversion for my data (in the below example, the JSON sidecar stores 0.004s, but after the conversion the result is 4s):

Screenshot_20241009_153124

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