cni / nims

Legacy version of NIMS. All new development at @scitran
14 stars 12 forks source link

infer the scan type #46

Closed rfdougherty closed 9 years ago

rfdougherty commented 11 years ago

When a nimsimage object is instantiated and its metadata populated, use heuristics to set the 'scan_type' property. Select from one of the following values: shim, localizer, calibration, fieldmap, spectroscopy, diffusion, functional, 3D anatomy, 2D anatomy, or (as a last resort) anatomy.

Note: this code is written, and seems to work. It is part of a large refactor to back-port the nims 2 "nimsdata" structure to nims 1. Once that refactor is complete, I'll push it in.

gsfr commented 11 years ago

This is in production now, although we still get some scans wrong. Certain localizers are declared as anatomicals, for example.

kevlarkevin commented 9 years ago

@scitran/nimsdata attempts to infer the scan type. Any new bugs/problems/issues with inferring scan type should be opened as issues on @scitran/nimsdata