Read Siemens raw data.
Project description
RawDatarInator
Python bindings for BART’s twixread function ([1]). This new version of rawdatarinator replaces the old Python port of a MATLAB script. Consequently, this one runs much faster and breaks less often. A cleaner interface is provided which will break all old code. See usage for examples. In general, this new release has fewer features that work better.
The name of the project pays homage to the naming convention of the main antagonist in Disney’s hit cartoon “Phineas and Ferb” ([2]).
Installation
This package is known to work with Python 3.6.8 using Ubuntu 18.04. If it doesn’t work on your system, please submit an issue and we can try to figure something out. The goal is to provide a simple pip-installable Python interface for BART’s twixread function. The Cythonized BART code is compiled during the installation, so you will need a C compiler installed.
Use pip to install:
pip install rawdatarinator
Usage
You get a few functions:
# BART's twixread function can be invoked right from a Python # script: from rawdatarinator import twixread twixread('path/to/input/data.dat', 'path/to/output') # A pair of .cfl, .hdr will be created: path/to/output.[cfl/hdr] # as BART normally does. However, if you're using these Python # bindings, you might want to just grab the data straight away. # You can do this by not providing any output file: data = twixread('path/to/data.dat', A=True) # You can read existing BART files like this: from rawdatarinator import read data = read('path/to/file/without/extentsion') # If you've used BART's Python interface, this is a modified # verison of readcfl. It works just like that. Similarly, # BART's writecfl functionality can be found: from rawdatarinator import write write('path/to/out', data)
References
[1] | Uecker, Martin, et al. “Berkeley advanced reconstruction toolbox.” Proc. Intl. Soc. Mag. Reson. Med. Vol. 23. 2015. |
[2] | List of Doofenshmirtz’s schemes and inventions |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size rawdatarinator-1.3.2-cp36-cp36m-macosx_10_9_x86_64.whl (137.6 kB) | File type Wheel | Python version cp36 | Upload date | Hashes View |
Filename, size rawdatarinator-1.3.2-cp36-cp36m-manylinux1_i686.whl (472.0 kB) | File type Wheel | Python version cp36 | Upload date | Hashes View |
Filename, size rawdatarinator-1.3.2-cp36-cp36m-manylinux1_x86_64.whl (505.2 kB) | File type Wheel | Python version cp36 | Upload date | Hashes View |
Filename, size rawdatarinator-1.3.2-cp36-cp36m-manylinux2010_i686.whl (472.0 kB) | File type Wheel | Python version cp36 | Upload date | Hashes View |
Filename, size rawdatarinator-1.3.2-cp36-cp36m-manylinux2010_x86_64.whl (505.2 kB) | File type Wheel | Python version cp36 | Upload date | Hashes View |
Filename, size rawdatarinator-1.3.2-cp37-cp37m-macosx_10_9_x86_64.whl (136.1 kB) | File type Wheel | Python version cp37 | Upload date | Hashes View |
Filename, size rawdatarinator-1.3.2-cp37-cp37m-manylinux1_i686.whl (474.4 kB) | File type Wheel | Python version cp37 | Upload date | Hashes View |
Filename, size rawdatarinator-1.3.2-cp37-cp37m-manylinux1_x86_64.whl (508.4 kB) | File type Wheel | Python version cp37 | Upload date | Hashes View |
Filename, size rawdatarinator-1.3.2-cp37-cp37m-manylinux2010_i686.whl (474.4 kB) | File type Wheel | Python version cp37 | Upload date | Hashes View |
Filename, size rawdatarinator-1.3.2-cp37-cp37m-manylinux2010_x86_64.whl (508.4 kB) | File type Wheel | Python version cp37 | Upload date | Hashes View |
Filename, size rawdatarinator-1.3.2-cp38-cp38-macosx_10_9_x86_64.whl (137.1 kB) | File type Wheel | Python version cp38 | Upload date | Hashes View |
Filename, size rawdatarinator-1.3.2-cp38-cp38-manylinux1_i686.whl (534.3 kB) | File type Wheel | Python version cp38 | Upload date | Hashes View |
Filename, size rawdatarinator-1.3.2-cp38-cp38-manylinux1_x86_64.whl (571.5 kB) | File type Wheel | Python version cp38 | Upload date | Hashes View |
Filename, size rawdatarinator-1.3.2-cp38-cp38-manylinux2010_i686.whl (534.3 kB) | File type Wheel | Python version cp38 | Upload date | Hashes View |
Filename, size rawdatarinator-1.3.2-cp38-cp38-manylinux2010_x86_64.whl (571.5 kB) | File type Wheel | Python version cp38 | Upload date | Hashes View |
Filename, size rawdatarinator-1.3.2-cp39-cp39-macosx_10_9_x86_64.whl (138.7 kB) | File type Wheel | Python version cp39 | Upload date | Hashes View |
Filename, size rawdatarinator-1.3.2-cp39-cp39-manylinux1_i686.whl (508.0 kB) | File type Wheel | Python version cp39 | Upload date | Hashes View |
Filename, size rawdatarinator-1.3.2-cp39-cp39-manylinux1_x86_64.whl (542.0 kB) | File type Wheel | Python version cp39 | Upload date | Hashes View |
Filename, size rawdatarinator-1.3.2-cp39-cp39-manylinux2010_i686.whl (508.0 kB) | File type Wheel | Python version cp39 | Upload date | Hashes View |
Filename, size rawdatarinator-1.3.2-cp39-cp39-manylinux2010_x86_64.whl (542.0 kB) | File type Wheel | Python version cp39 | Upload date | Hashes View |
Filename, size rawdatarinator-1.3.2-pp36-pypy36_pp73-manylinux1_x86_64.whl (122.9 kB) | File type Wheel | Python version pp36 | Upload date | Hashes View |
Filename, size rawdatarinator-1.3.2-pp36-pypy36_pp73-manylinux2010_x86_64.whl (122.9 kB) | File type Wheel | Python version pp36 | Upload date | Hashes View |
Filename, size rawdatarinator-1.3.2-pp37-pypy37_pp73-manylinux1_x86_64.whl (122.9 kB) | File type Wheel | Python version pp37 | Upload date | Hashes View |
Filename, size rawdatarinator-1.3.2-pp37-pypy37_pp73-manylinux2010_x86_64.whl (122.9 kB) | File type Wheel | Python version pp37 | Upload date | Hashes View |
Filename, size rawdatarinator-1.3.2.tar.gz (170.0 kB) | File type Source | Python version None | Upload date | Hashes View |
Hashes for rawdatarinator-1.3.2-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68c13f7f07e0b1a678f8454bd1c5b2b0c8d7045bd1eb80f2d64bb4d399f5611b |
|
MD5 | 46980d650b72b4d8ba9ab4ef7540dc9a |
|
BLAKE2-256 | 46a90611b4ac07168251ca6e64a9c3b3bb921c35717672e80c21c2f3190058c2 |
Hashes for rawdatarinator-1.3.2-cp36-cp36m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b1a0445749f8b524f1df2c71d4cdb984a65a632a48ab26aca700dc0974b880a |
|
MD5 | d7e40d301438bfa14d034a3773eaa166 |
|
BLAKE2-256 | cb3aeee8b5c7763122ed9fa08245c64fde0c1115ed44cf42058b638fc53fd65d |
Hashes for rawdatarinator-1.3.2-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39b615ccf644c3469c63538da1da3e970f3be3385b71b66db47eeb4426e48eb7 |
|
MD5 | 0ace1947974a5a12864b6df128f3a345 |
|
BLAKE2-256 | af3a1c3fe2e48384671200997aa64e0c86ecb94ca7ee2a1d1cecb9bb8c32db62 |
Hashes for rawdatarinator-1.3.2-cp36-cp36m-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | de4f3df85c9a4614bacfa744cf68607103aa456de53c02b6e1f767cd1cc1d310 |
|
MD5 | 3f0e076a0b0f40e18f06d779ff269149 |
|
BLAKE2-256 | 6a912a654e8b3c8b3adc54c4f74e2968160f96fcb9ed0d1b78f7061146b48947 |
Hashes for rawdatarinator-1.3.2-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bb1d84e36114c69263aaf2ba9063622c09897d78b86b236a478d20136a363a2 |
|
MD5 | e78c98ed02f2e000a62e97031c2674d8 |
|
BLAKE2-256 | df356734b478f2b4be86bc10c2610bdc0cd2e5d30b240a0a5f7f4efb6c240ac0 |
Hashes for rawdatarinator-1.3.2-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ba9d4e6c9664a30d10c5622933977aab255358f2bdfc7cc004951b79f6eda9c |
|
MD5 | bc0c82d1f417b20188f507e8e37b6d1d |
|
BLAKE2-256 | 93e8edf6d5764664810f99d5e9ae0ebedbee5f582c2d3e8673e8a78b1d213cbb |
Hashes for rawdatarinator-1.3.2-cp37-cp37m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cc2761e6ba096721f02301914ab6e1c6c048f579fa1a7e4ff8ef85ff789e5f9 |
|
MD5 | 3b3dc2817e5fb5472d3ee0004127fcfb |
|
BLAKE2-256 | fb3614d4684cf7a8fc79c8e9c13baea348785c0ecdf33f952388273606e3a036 |
Hashes for rawdatarinator-1.3.2-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81cc7769c32521c71ede19e5ce2d6e11b1c6da35259db075bbd50e2d06211a55 |
|
MD5 | 36b76d39b9367b4d0459e594ce52717b |
|
BLAKE2-256 | 6c5ed083a10c653c8f2d34ac4100ab9ba7755c81d345645b032f14308d46be87 |
Hashes for rawdatarinator-1.3.2-cp37-cp37m-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6d0311b6696d4ec397d6927f7a43a45f28fd505649c828cf8c7d1222589791b |
|
MD5 | 34a2323dbe1cce2649420f836939ae92 |
|
BLAKE2-256 | ad5a1b7b97dd2247f6da4851471a21b90e5fd44dd940517bf911c2dff453add9 |
Hashes for rawdatarinator-1.3.2-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b5726955dd2000584fe28023d9f4e5a1eae6297d74474b62dc5653d0b5f424b |
|
MD5 | 124d662bc1975602882fb6b973f4a4f8 |
|
BLAKE2-256 | 906da598528a10dcdb905dbf750bfb4ce0c86fbeea478a52e54704cbddf02540 |
Hashes for rawdatarinator-1.3.2-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8eeebe2d24031a1ffb6eda1cc2e6820591e862381ecde2cddc6c2f3094ac244 |
|
MD5 | 8c49c56e91bfa6df6c18646e56723455 |
|
BLAKE2-256 | a16f3609a75f41d710da6b62340caf54bec414749bcad8dee88d304e4d9bce20 |
Hashes for rawdatarinator-1.3.2-cp38-cp38-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1b3b92a1454d352fd26729e1725ac1fb4c71f99ec17badb2f40bebc2ca5aae4 |
|
MD5 | 7d2981b0c48ce9762286402bf70aa8d0 |
|
BLAKE2-256 | d1a3191c44f7a6c89a2f4122352ba78c0518ae8ff6a3a37cd9dfdc9bb9848413 |
Hashes for rawdatarinator-1.3.2-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 501b58557ccf380cb7edc4b31c779a77cea0f0a29b95be43e05097f5674af095 |
|
MD5 | 157b2bf7f239121fb69fdcf6081ef766 |
|
BLAKE2-256 | 14bc063b363d5d8c649acfce41645a33533181b11c6fa48d7d18ff09fbbcdb06 |
Hashes for rawdatarinator-1.3.2-cp38-cp38-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbc6e75dc1a557b2ed401580115f3691ed69b17dde16d2f01c2bb6b3b76d7eb3 |
|
MD5 | 5d5fea19564cfcea1b07fc51e9fa6ce3 |
|
BLAKE2-256 | 85b47cce655b2d6a62dcfdfd222aaf76efc31c1a524b9ecb7a14df09f6543217 |
Hashes for rawdatarinator-1.3.2-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae81d3e32bea2a15f2b4409fb55d77e7945dc2466dd01acd3ee0a6284c68c0c8 |
|
MD5 | a7114ca9a0024c8cffab242d2dcca377 |
|
BLAKE2-256 | fec1be0a305e474ca7579f28a6c30b635078ad5aab822ff826b07a8b1eb0b21f |
Hashes for rawdatarinator-1.3.2-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00da0949265778ac7ec6e22680d8b6a10064f3a452028298ba71fa86f431442a |
|
MD5 | 1700e317bc9f03b48b1905d847c700f7 |
|
BLAKE2-256 | 51fbc24355011a9f6752b9070a20de6d24de4ed7e65562492a470c3187e9cfa7 |
Hashes for rawdatarinator-1.3.2-cp39-cp39-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5dbe8d9458743ca7f3f60a6900e58ae998cc6c3006e3964f6585f960422be2e3 |
|
MD5 | e839f2d98b521e1f9a3423c442a2bb62 |
|
BLAKE2-256 | 3ff643bd03309d35907395886f1260182255a75b0587a23603fafb0f01dd93af |
Hashes for rawdatarinator-1.3.2-cp39-cp39-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7d1eff6afd316cbfbe0fc3954a73957d9251140172311db235fa7da2e3fd992 |
|
MD5 | dc97339664fcab56f9729a43732dcc0a |
|
BLAKE2-256 | eb790059da3782abdad10f57e5f4513e4d02b0ea84599ed99978d8e37f9fe7cc |
Hashes for rawdatarinator-1.3.2-cp39-cp39-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 647575c2bab1e32aeb2ce69008bea31f48da0c32e3af49a63cfc067eab62323a |
|
MD5 | 872bf733767e4ad009c62cd438b07995 |
|
BLAKE2-256 | 5c41125b94a6c308d4f0c29ac5b0e0fe2e309571d73da0eb61799e7ebe28f421 |
Hashes for rawdatarinator-1.3.2-cp39-cp39-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d569e6ec773d22d6a6b9bb523a70ff83ba8b393bcb21f6fb822cde2baf60816d |
|
MD5 | 5e8642bee4c853498b6ec0aa41054324 |
|
BLAKE2-256 | 840623427b7e3b09763214e5259c3cc805829396e02cd77d42efd4237e529a7f |
Hashes for rawdatarinator-1.3.2-pp36-pypy36_pp73-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43d67e31fedde7cc42fe3038da6980cd2c457728bef89952aa1726fc6f9b6b2e |
|
MD5 | b6da1e33b73171e2ed7dbe42f27cde51 |
|
BLAKE2-256 | 735259676f8353e134c477ec47d3b1bc3afcf03d137a618bb91aee6f686f15df |
Hashes for rawdatarinator-1.3.2-pp36-pypy36_pp73-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df9eb2e1efb7b98c9434f70970a0b4c360f816e8e65462158d706600657b40ea |
|
MD5 | 20d55de103883af38866ee035f21bb39 |
|
BLAKE2-256 | 388a08b44ed6273bd21617fb672158e241e64ca7161220805d3a7ae192a2a2e2 |
Hashes for rawdatarinator-1.3.2-pp37-pypy37_pp73-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5806e3831933b9d9da3b63ef53af5a7c67cf3b7eb286b7f1706f4bd2217c36e |
|
MD5 | ed3b4689a0d26393912587cbc361077d |
|
BLAKE2-256 | d4818abc4db71f09a98d78ce285310ffc86bf51e0ef7e14a46dea7bad0c54f4d |
Hashes for rawdatarinator-1.3.2-pp37-pypy37_pp73-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e83ca42d57a627e2e1c18b6d91ac862fdfc9578dfb5dda8b2fb6aae9f8b49bc |
|
MD5 | 66c9dddf70a564e9727dd73ce0fe149c |
|
BLAKE2-256 | 58a14b24fca127178bb1bb8d3e3534aedb5dbf7f37c47252eb9d2f7563e5628f |