Example Notebooks
rail_projects comes with several notebooks that demonstrate how to use it to analyze data in a number of different ways.
Here we describe the various notebooks and suggest other ways in which you might study the data.
Creating and using a RailProject
- Using
RailProject- Setup and teardown scripts to setup a test area
- Load the test project
- Inspect the test project
- Run a data reduction algorithm on the test project data
- Subsample the test project
- Build all the pipelines for the “baseline” flavor
- Generate the commands to run the “pz” pipeline in the “baseline” flavor for the “gold” selection
- Generate the commands to run the “spec_selection” pipeline in the “baseline” flavor for the “gold” selection
Making a new flavor in a RailProject
- Adding new flavors to a
RailProjectand using them- Import the usual suspects
- Setup environment, and move to correct directory. This will also download the needed data files to run this example.
- Build a very minimal project, with only the baseline flavor
- Add a new flavor to the project
- Make sure the flavor got added, and inspect it’s configuration.
- Build the pipelines for the few flavor
- Let’s see what the inputs for the new pz pipeline are
- All set, run the pipeline
The rail project component library