Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

Revision 1f00e1d65644c5e4efa77ea733145244ebbc0492 authored by Sriram J on 11 June 2020, 21:56:18 UTC, committed by Sriram J on 11 June 2020, 21:56:18 UTC
Third change in the demo
1 parent ddb8cb5
  • Files
  • Changes
  • 33466ab
  • /
  • Experiment Protocols
  • /
  • Parameters_D253.s2s
Raw File Download

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • revision
  • directory
  • content
revision badge
swh:1:rev:1f00e1d65644c5e4efa77ea733145244ebbc0492
directory badge
swh:1:dir:97cac15163343d339bd772db242996bd771de50f
content badge
swh:1:cnt:a117bff2c2eca46daa3b2dbb9e946ea68b35593b

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • revision
  • directory
  • content
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
Parameters_D253.s2s
' D253 Specific parameters

'--------------------------------------------------------------------------------
' SEQUENCER FILE LOCATION
'--------------------------------------------------------------------------------
var SequencerFile$ := "C:\\Users\\Public\\RaymondLabCode\\Experiment Protocols\\Sequencer_D253";

'--------------------------------------------------------------------------------
' MISC PARAMETERS
'--------------------------------------------------------------------------------


'--------------------------------------------------------------------------------
' MOTOR CALIBRATION PARAMETERS
'--------------------------------------------------------------------------------

'Chair converstion factors
var ChairDegreesPerSecond2Voltage := 0.0098255; 'Chair velocity to voltage (Scale)
var ChairDegreesPerSecondOffsetDefault :=  .06;         'Chair velocity to voltage (offset)
var ChairDegreesPerSecondOffset :=  .06;         'Starting value, is updated repeatedly

'Drum conversion factors
var DrumDegreesPerSecond2Voltage := 0.005;      'Drum velocity to voltage (Scale)
var DrumDegreesPerSecondOffsetDefault := .246;        'Drum velocity to voltage (offset)
var DrumDegreesPerSecondOffset := .246;         'Starting value, is updated repeatedly

'Channel 1: Scaling to display the drum COMMAND signal
var DrumVoltage2Velocity := -1/DrumDegreesPerSecond2Voltage;                'Voltage to Drum Velocity (Scale)
var DrumVoltage2VelocityC := 0;                 'Voltage to Drum Velocity (offset)

'Channel 2: Scaling to display the chair COMMAND signal
var ChairVoltage2Velocity := -1/ChairDegreesPerSecond2Voltage; '107.42869;         'Voltage to Chair Velocity (Scale)
var ChairVoltage2VelocityC := 0;                'Voltage to Chair Velocity (offset)

'Chair velocity readout
var ChairVelReadoutScale := 100.331875;
var ChairVelReadoutOffset := -.0689;

'Chair position readout
var ChairPosReadoutScale := -18.00215;
var ChairPosReadoutOffset := .08337982;

'Drum velocity readout
var DrumVelReadoutScale := 9.33112;
var DrumVelReadoutOffset := -0.0092635;

'Scaling for drum position readout
var DrumPosReadoutScale := 37.4055;
var DrumPosReadoutOffset := .719269;

'Channel 5/6: Eye position readout
var EyeVoltage2Position := 1;
var EyeVoltage2PositionC := 0;

'Default servo direction for chair and drum -- 1 or -1'
var ChairResetDirection := -1;
var DrumResetDirection := -1;

'Scale factor for amplitude of sine wave drift'
var ChairDriftFactor := .04;
var DrumDriftFactor := 0.0; 'need to take measurements for drum'
The diff you're trying to view is too large. Only the first 1000 changed files have been loaded.
Showing with 0 additions and 0 deletions (0 / 0 diffs computed)
swh spinner

Computing file changes ...

back to top

Software Heritage — Copyright (C) 2015–2026, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API