F.A.S.T. package for describing datasets
Project description
fast-curator
Create, read and write dictionary descriptions of input datasets to process. Currently all datasets are expected to be built from sets of ROOT Trees.
Installing
pip install --user fast-curator
Usage
# Local files:
fast_curator -o output_file_list.txt -t tree_name -d dataset_name --mc input/files/*root
# Single XROOTD files:
fast_curator -o output_file_list.txt --mc root://my.domain.with.files://input/files/one_file.root
# XROOTD files with several globs
fast_curator -o output_file_list.txt --mc root://my.domain.with.files://inp*/files/*.root
Notes: 1. If the command is called multiple times with the same output file (using the -o option), the additional files specified will be appended to the output file. 2. Arbitrary meta-data (such as cross-section, data quality, generator precision, etc) can be added to each dataset with the -m option.
For more guidance try the built-in help:
fast_curator --help
Reading dataset files back
import fast_curator
datasets = fast_curator.read.from_yaml("my_dataset_file.yml")
Will return a list of datasets with the default section applied to each dataset.
Further Documentation
Is on its way…
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.
Source Distribution
fast-curator-0.5.0.tar.gz
(8.8 kB
view hashes)
Built Distribution
Close
Hashes for fast_curator-0.5.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 292b6b8eee6d0f8e8a251d38aba01a62f7250d5e9610210e784458dcd1e68924 |
|
MD5 | 02a2d63509f5a6ca84b1513acbd10380 |
|
BLAKE2b-256 | f8e9a20e3ed0ef506bdc7c09c3c41b79c80c56ee3e2f81cfeed5fc173ef35c74 |