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
Metadata
Release files for rawdatarinator 1.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rawdatarinator-1.4.0.tar.gz | 173.2 kB | Details |
Built distributions (wheels)
Total release size: 3.9 MB
Release files / rawdatarinator-1.4.0.tar.gz
| Download URL | rawdatarinator-1.4.0.tar.gz |
|---|---|
| Size | 173.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7a095d58d5e8f838be5c92c6620cc3b1fccb304c7eebdd78e8c32476604a32cf
|
|
BLAKE2b-256 checksum How to use checksums |
360a2f16c660eb9985ac18ad42c365058576ae278831bef250676712dcd171ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1
|
Release files / rawdatarinator-1.4.0-pp37-pypy37_pp73-manylinux2010_x86_64.whl
| Download URL | rawdatarinator-1.4.0-pp37-pypy37_pp73-manylinux2010_x86_64.whl |
|---|---|
| Size | 124.1 kB |
| Tags | Linux glibc 2.12+ x86-64 PyPy 3.7 PyPy 3.7 7.3 |
|
SHA-256 checksum How to use checksums |
612ff07140cb6035cb2fec159909a500396a399edd0ec2d3c344085ce9ff223b
|
|
BLAKE2b-256 checksum How to use checksums |
e760ac32f989b88b59d73b5e8c333b122a458bea7ebaae2633e61666a3547cbd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1
|
Release files / rawdatarinator-1.4.0-cp39-cp39-manylinux2010_x86_64.whl
| Download URL | rawdatarinator-1.4.0-cp39-cp39-manylinux2010_x86_64.whl |
|---|---|
| Size | 545.4 kB |
| Tags | CPython 3.9 Linux glibc 2.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
97ef71a2cd0ea7c0332bd4e41070fcda5c3c8cf6a49ea147985ff9c18103ba92
|
|
BLAKE2b-256 checksum How to use checksums |
8564086deba969dd826e323c6f1a3b5eafac4233a25e2bd74d2f4e7e0bddc1ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1
|
Release files / rawdatarinator-1.4.0-cp39-cp39-manylinux2010_i686.whl
| Download URL | rawdatarinator-1.4.0-cp39-cp39-manylinux2010_i686.whl |
|---|---|
| Size | 510.9 kB |
| Tags | CPython 3.9 Linux glibc 2.12+ x86-32 |
|
SHA-256 checksum How to use checksums |
cd6432a2419c714deb1607da16228c71dac0bc3607400b14d8e36d41906ac1c3
|
|
BLAKE2b-256 checksum How to use checksums |
0ca1a97421f153c9b6373299e9222f7948aab6ddcf5c12be66b05d1b29ff0b10
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1
|
Release files / rawdatarinator-1.4.0-cp39-cp39-macosx_10_9_x86_64.whl
| Download URL | rawdatarinator-1.4.0-cp39-cp39-macosx_10_9_x86_64.whl |
|---|---|
| Size | 140.8 kB |
| Tags | CPython 3.9 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
8caac36344e74ed6a53facb9fc68a68bdfeeaa078f739fe2f581dbec81dd9fca
|
|
BLAKE2b-256 checksum How to use checksums |
aa03c7cbeb9e71b216dc5ef28c42e0b199c453f1cc3f56c8f1674c18cf9ffce9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1
|
Release files / rawdatarinator-1.4.0-cp38-cp38-manylinux2010_x86_64.whl
| Download URL | rawdatarinator-1.4.0-cp38-cp38-manylinux2010_x86_64.whl |
|---|---|
| Size | 575.3 kB |
| Tags | CPython 3.8 Linux glibc 2.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
9bcc4910dcad0bbf024e223927f24c8f668681393376758333097f09336b769d
|
|
BLAKE2b-256 checksum How to use checksums |
634e5ed1544a0542e91b9cdcfed66bc471b0ca92620389a276005c77c7004be2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1
|
Release files / rawdatarinator-1.4.0-cp38-cp38-manylinux2010_i686.whl
| Download URL | rawdatarinator-1.4.0-cp38-cp38-manylinux2010_i686.whl |
|---|---|
| Size | 537.4 kB |
| Tags | CPython 3.8 Linux glibc 2.12+ x86-32 |
|
SHA-256 checksum How to use checksums |
41e6b6627d395acde183edaa8c28886b18785b1671316dce896dc344deff3ef6
|
|
BLAKE2b-256 checksum How to use checksums |
db6dccbf60f43d5eb929c3d97ce44a5dfb5410691ab70fd3ca700d4b91607f89
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1
|
Release files / rawdatarinator-1.4.0-cp38-cp38-macosx_10_9_x86_64.whl
| Download URL | rawdatarinator-1.4.0-cp38-cp38-macosx_10_9_x86_64.whl |
|---|---|
| Size | 139.2 kB |
| Tags | CPython 3.8 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
6ab951263f05ecbe46af381439e1f4ddfac67989901542a0713b59b28a9b27dd
|
|
BLAKE2b-256 checksum How to use checksums |
a1ea36b51316fb8ec8aa71234151d63c79f71428001a7b0153f21f2c4e81ef9d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1
|
Release files / rawdatarinator-1.4.0-cp37-cp37m-manylinux2010_x86_64.whl
| Download URL | rawdatarinator-1.4.0-cp37-cp37m-manylinux2010_x86_64.whl |
|---|---|
| Size | 512.3 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
3f4b176343ae36fc756930e2d606150ab17bb34146bf94ee83f2852a8001bf15
|
|
BLAKE2b-256 checksum How to use checksums |
b82502b64279299cded70b0eea7475689612589f933a41acea8be97b940a92ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1
|
Release files / rawdatarinator-1.4.0-cp37-cp37m-manylinux2010_i686.whl
| Download URL | rawdatarinator-1.4.0-cp37-cp37m-manylinux2010_i686.whl |
|---|---|
| Size | 477.6 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.12+ x86-32 |
|
SHA-256 checksum How to use checksums |
386c4b7d283377ba55ffe6ca352a3a77195d8ac54bc1f63cbd547f871bf3706b
|
|
BLAKE2b-256 checksum How to use checksums |
b61afd3cf9835e083c1a0945bce6fea71f6a760d2d84eee50eb100a8ee48ae90
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1
|
Release files / rawdatarinator-1.4.0-cp37-cp37m-macosx_10_9_x86_64.whl
| Download URL | rawdatarinator-1.4.0-cp37-cp37m-macosx_10_9_x86_64.whl |
|---|---|
| Size | 138.2 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
672769808db60129dbf3ccf2e5de44fbe88e5b558010090035cea8008a6d06e2
|
|
BLAKE2b-256 checksum How to use checksums |
a927d21286724adfa32c754bee8aca5a92a895b9c2a7cdc5a2c033195f933230
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1
|