Ignore:
Timestamp:
Jun 13, 2012 10:58:36 AM (10 years ago)
Author:
jemian
Message:

demonstrate use of math role and directive, and set SVN keywords

File:
1 edited

Legend:

Unmodified
Added
Removed
  • softGlue_examples/source/motor_accel_gate/index.rst

    • Property svn:eol-style set to native
    • Property svn:keywords set to Id
    r921 r922  
    1 .. $Id: index.rst 872 2012-06-05 20:40:40Z jemian $
     1.. $Id$
    22
    33============================
     
    2727external circuit only while the motor is moving at constant speed. For a stepper
    2828motor controlled by the EPICS motor record, the number of
    29 acceleration/deceleration steps, N\ :sub:`a`, can be calculated as follows:
     29acceleration/deceleration steps, :math:`N_a` can be calculated as follows:
    3030
    31 N\ :sub:`a` = ((``VBAS`` + ``VELO``)/2) * ``ACCL``/``MRES``
     31.. math:: N_a = ((VBAS + VELO)/2) \times (ACCL / MRES)
    3232
    3333where, ``VBAS``, ``VELO``, ``ACCL``, and ``MRES`` are motorRecord fields.
     
    3535The number of constant-speed steps, N\ :sub:`c`, is then
    3636
    37 N\ :sub:`c` = ((``VAL``\ :sub:`end` - ``VAL``\ :sub:`start`)/``MRES``) - 2*N\ :sub:`a`
     37.. math:: N_c = ((VAL_{end}-VAL_{start})/MRES) - 2N_a
    3838
    3939where ``VAL``\ :sub:`end` and ``VAL``\ :sub:`start` are the final and initial
Note: See TracChangeset for help on using the changeset viewer.