Skip to content

Instantly share code, notes, and snippets.

@AbbyGi
AbbyGi / README.md
Last active January 12, 2021 15:46
APS 4-ID POLAR bluesky-widgets example

APS 4-ID POLAR bluesky-widgets example

Setup

Install bluesky-widgets, an experimental new package.

pip install bluesky-widgets
@AbbyGi
AbbyGi / beamline_optimization_test.py
Last active February 20, 2020 15:49
Beamline optimization code using differential evolution
import matplotlib.pyplot as plt
import numpy as np
from random import random, uniform
import math
import time
import copy
from ophyd import EpicsMotor, Device, Component as Cpt