Group
Extension

Matches 1

App-AFNI-SiemensPhysio ( W/WI/WILLFORAN/App-AFNI-SiemensPhysio-0.01.tar.gz, WILLFORAN, 2018; MetaCPAN )
App-AFNI-SiemensPhysio/lib/App/AFNI/SiemensPhysio.pm ( view source; MetaCPAN )
eadBIDSJson
read TR MRstart and crate MRend from BIDS style json output 
(e.g. created by dcm2niix). 

must already have nDcms (number of volumes in 4d) set

=cut
sub readBIDSJson() {
 use JSON qw/dec
;
 my $jsonfile=shift;
 open my $JS, '<', $jsonfile or 
   croak "could not open BIDS JSON '$jsonfile'";
 my $data = decode_json(do{local $/; <$JS>})  or
   croak "could not parse JSON in '$jsonfile'"
s($offby) > $maxDiffSec);

 return 1;
}

# DICOM Acq Time is fmt like HHMMSS.SS (172745.487500)
# JSON BIDs AcqTime like 2018-06-15T17:27:45.487500
sub getMRAcqSecs {
  $_=shift;
  m/^(?<HH>\d{2})(?<M

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.