Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: retrieving metadata from bids-formatted json files #27

Merged
merged 24 commits into from
Oct 25, 2021

Commits on Mar 18, 2021

  1. Splitted get_metadata_val

    get_metadata_val is splitted into 3 functions:
      get_metadata_val_classic -- original code of get_metadata_val
      get_metadata_val_header -- retrive metadata from nifti
      get_metadata_val_bids -- retrive metadata from bidsified json
    
    The get_metadata_val checks if recieved structure contains
    'acqpar' and based on it colls one of 3 functions
    Beliy Nikita committed Mar 18, 2021
    Configuration menu
    Copy the full SHA
    a3a469f View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2021

  1. DWI-related bval and bvec

    Added:
    
     - isDWI from filename suffix
     - AllDiffusionDirections from bvec file
     - AllDiffusionValues from bval file
    
    In order to get this info, added a new field to meta structure:
    'filename' containing the path to data file.
    
    bval and bvec are retrieved by changing extension
    Beliy Nikita committed Mar 19, 2021
    Configuration menu
    Copy the full SHA
    6042078 View commit details
    Browse the repository at this point in the history
  2. dded MagneticFieldStrenght

    Beliy Nikita committed Mar 19, 2021
    Configuration menu
    Copy the full SHA
    d18ef3c View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2021

  1. Forced row vector for B1FAValues

    Beliy Nikita committed Mar 23, 2021
    Configuration menu
    Copy the full SHA
    80fda32 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2021

  1. Fixing bug

    When possible the metadata structure is loaded and passed to the 'classic' or 'BIDS' get_metadata_val subfunctions.
    ChristophePhillips committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    bddf887 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2021

  1. No need to try and reload mstruct + cosmetic

    Since there should not be any direct call to this function with a filename, one can remove the reloading of the mstruct based on a filename.
    ChristophePhillips committed Apr 12, 2021
    Configuration menu
    Copy the full SHA
    cc0f52d View commit details
    Browse the repository at this point in the history
  2. Adding possibility to load PEdir sign directly

    This is NOT in BIDS spaces but could be useful for some old data. It's only an added features and does not break back compatibility.
    ChristophePhillips committed Apr 12, 2021
    Configuration menu
    Copy the full SHA
    30b6053 View commit details
    Browse the repository at this point in the history
  3. Bug fix: Adding missing line to get the value

    After looking for the 'TotalReadoutTime' field, one need to load the associated value then proceed.
    ChristophePhillips committed Apr 12, 2021
    Configuration menu
    Copy the full SHA
    5c1995d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4c23f36 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2021

  1. Added MultiBandFactor

    Beliy Nikita committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    30f1fa8 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2021

  1. Merge remote-tracking branch 'crc-github/FixSPMjsonReadWrite' into be…

    …liy-get-metadata-bids
    
    Synchronising master branches
    Beliy Nikita committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    39cde1a View commit details
    Browse the repository at this point in the history

Commits on May 20, 2021

  1. Added reordering of B1 maps following their fa

    Beliy Nikita committed May 20, 2021
    Configuration menu
    Copy the full SHA
    9bdfa0f View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2021

  1. Added test for number of B1 maps

    Beliy Nikita committed Jul 2, 2021
    Configuration menu
    Copy the full SHA
    f351f66 View commit details
    Browse the repository at this point in the history
  2. Changed TODOs as requested

    Beliy Nikita committed Jul 2, 2021
    Configuration menu
    Copy the full SHA
    3dea3ad View commit details
    Browse the repository at this point in the history
  3. Changed echo1 and echo2 to SE and STE, as requested

    Beliy Nikita committed Jul 2, 2021
    Configuration menu
    Copy the full SHA
    fc2181f View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2021

  1. Fixed few bugs

    Beliy Nikita committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    7dbb5a9 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2021

  1. Minor tidying of hmri_create_b1map.m changes

    Slightly more informative error message if number of images and angles don't match; using assert syntax (rather than "if X, then error"); replaced a couple of "echo1", "echo2" in comments that had been missed; matched indexing of P to the rest of the code (avoiding potential errors if P given as 1xN array); no longer need to account for possibility of "extra" elements in the P array (because of explicit assert statement).
    lukeje committed Jul 23, 2021
    Configuration menu
    Copy the full SHA
    98a2d6c View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2021

  1. Added retrieval of bids field if it's not in list

    Beliy Nikita committed Jul 26, 2021
    Configuration menu
    Copy the full SHA
    224b600 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2021

  1. Correct function name

    lukeje committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    5d45fd7 View commit details
    Browse the repository at this point in the history
  2. Correct function name

    lukeje committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    e14ef6f View commit details
    Browse the repository at this point in the history
  3. Found I had introduced a bug with the previous commit. Now use volume…

    … structs instead of char arrays. Added extra assert statement to check image pairs provided.
    Luke Edwards committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    83d3bfb View commit details
    Browse the repository at this point in the history
  4. Merge pull request #28 from hMRI-group/b1map_fa_order

    Added reordering of B1 maps following their fa
    DerOrfa committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    774c24e View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2021

  1. Fixed units in EchoSpce in classic metadata

    Beliy Nikita committed Oct 25, 2021
    Configuration menu
    Copy the full SHA
    f36d8a5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0b40605 View commit details
    Browse the repository at this point in the history