Skip to content

Commit

Permalink
MNT #78
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed Jan 3, 2019
1 parent 4fba001 commit 00a839d
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@

"""
Examples that might be useful at the APS using BlueSky
(ophyd) Signals that might be useful at the APS using Bluesky
.. autosummary::
~SynPseudoVoigt
"""

# Copyright (c) 2017-2018, UChicago Argonne, LLC. See LICENSE file.
# Copyright (c) 2017-2019, UChicago Argonne, LLC. See LICENSE file.

import logging
import ophyd.sim
Expand Down Expand Up @@ -55,7 +55,7 @@ class SynPseudoVoigt(ophyd.sim.SynSignal):
::
from APS_BlueSky_tools.examples import SynPseudoVoigt
from APS_BlueSky_tools.signals import SynPseudoVoigt
motor = Mover('motor', {'motor': lambda x: x}, {'x': 0})
det = SynPseudoVoigt('det', motor, 'motor',
center=0, eta=0.5, scale=1, sigma=1, bkg=0)
Expand All @@ -65,7 +65,7 @@ class SynPseudoVoigt(ophyd.sim.SynSignal):
::
import numpy as np
from APS_BlueSky_tools.examples import SynPseudoVoigt
from APS_BlueSky_tools.signals import SynPseudoVoigt
synthetic_pseudovoigt = SynPseudoVoigt(
'synthetic_pseudovoigt', m1, 'm1',
center=-1.5 + 0.5*np.random.uniform(),
Expand Down

0 comments on commit 00a839d

Please sign in to comment.