coinstacparsers
This package includes fsl_parser, vbm_parser and csv parser. fsl_parser parses the freesurfer files (specified in inputspec.json) as dependencies and returns the covariates (X) and dependent (y) matrices as dataframes. The format of inputspec.json should be as shown in the example inputspec.json here. Similarly vbm_parser parses NIfTI images as dependencies and returns the covariates (X) and dependent (y) matrices as dataframes. csv_parser reads the values specified in inputspec.json file and returns the covariates (X) and dependent (y) matrices as dataframes.
How to install
pip install coinstacparsers
How to run
for fsl parser:
import coinstacparsers
from coinstacparsers import parsers
args = json.loads(sys.stdin.read())
(X, y) = parsers.fsl_parser(args)
for vbm parser:
import coinstacparsers
from coinstacparsers import parsers
args = json.loads(sys.stdin.read())
mask = os.path.join('/computation', mask_directory, mask_file_name)
(X, y) = parsers.vbm_parser(args, mask)
for csv parser:
import coinstacparsers
from coinstacparsers import parsers
args = json.loads(sys.stdin.read())
(X, y) = parsers.csv_parser(args)
Release files for coinstacparsers 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| coinstacparsers-0.0.3.tar.gz | 2.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| coinstacparsers-0.0.3-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 6.9 kB
Release files / coinstacparsers-0.0.3.tar.gz
| Download URL | coinstacparsers-0.0.3.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3226e43b89951bd51b4d66e4664c1f24b624cb47451a97bd36c482780d70882e
|
|
BLAKE2b-256 checksum How to use checksums |
8cf9c41d2d318c8d90cc9b2ecf6ff93334c22a948297205f0c65f9ad55d57616
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/2.7.15
|
Release files / coinstacparsers-0.0.3-py2-none-any.whl
| Download URL | coinstacparsers-0.0.3-py2-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
398b5b5697ef00b2f347865d11b41c2f8d0ffde89239a57f8b0b9b02a00b43fd
|
|
BLAKE2b-256 checksum How to use checksums |
4fe928f55067842647784b336eb5f534d066dde8c22b1129187f3408e66bbea3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/2.7.15
|