Giter Site home page Giter Site logo

protocol's Introduction

protocol

Library and utilities to develop protocols and check for protocol compliance in medical imaging.

We use the term "protocol" here loosely, to refer to MRI acquisition protocols, or neuroimaging data QC protocols.

Current release focuses on MRI image acquisition protocols for QA purposes only.

Features

  • simple tool to check for protocol compliance :
    ensure all subjects in a given dataset were acquired with same/compatible values for few key parameters.
  • programmatic parsing of Siemens protocols in XML format

Documentation

protocol's People

Contributors

sinhaharsh avatar raamana avatar

protocol's Issues

Catch errors in a better way, possible?

See if there is a better way. Can we just catch errors inside setitem?

    try:
        self[pname] = param_class(value)
    except (TypeError, ValueError):
        self[pname] = param_class(Invalid)

Fix Non-linear gradient correction parameter class

NonLinearGradientCorrection ['ORIGINAL', 'PRIMARY', 'M', 'ND']

I am using ImageType tag (0x08, 0x08) to get the information about Non Linear Gradient Correction. However, only the last field (ND) corresponds to non-linear gradient correction. I would have to correct that based on the following information.

Source :
The inclusion of DIS2D or DIS3D in these one of these fields (the former prior to XA30, the latter with XA30 and later) is consistent with NonlinearGradientCorrection being true while ND suggests false.

The proposed criteria would be
If the ImageType list contains DIS2D or DIS3D , then non-linear gradient correction is True.
If the ImageType list contains ND , then non-linear gradient correction is False.
Otherwise it is Unspecified.

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.