Skip to content
This repository has been archived by the owner on Nov 26, 2020. It is now read-only.

NSLS-II/broker-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ARCHIVED AND OUT OF DATE

See https://blueskyproject.io/tutorials/ instead.

Data Broker Tutorial Materials

Documentation

Before you begin

Usage

# Download the materials.
git clone https://github.com/NSLS-II/broker-tutorial

# Create a new "conda environment" and install the required Python packages.
cd broker-tutorial
conda create -n broker-tutorial python=3.5 numpy pandas matplotlib cytoolz tifffile -c conda-forge
source activate broker-tutorial
pip install -r requirements.txt

# Start IPython
ipython

# In IPython, run a script that generates data and defines a Broker, db.
%run generate_data.py

# Try examples, such as:
db(proposal_id=1)
all_scans = db(plan_name='scan')
db.get_table(all_scans)

Releases

No releases published

Packages

No packages published

Languages