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 8ed0bc61f74cbe8b9d07278a25fd9f49c0af3f2b authored by Kellen Vu on 03 November 2022, 01:23:38 UTC, committed by Kellen Vu on 03 November 2022, 01:23:38 UTC
Fixes a bug where eyeCalibration.mlapp was trying to get the sample rate from the wrong smr channel. I tested this in D243b, and it should work for other computers, but let me know if it doesn't.
1 parent 1611f97
  • Files
  • Changes
  • cd980e7
  • /
  • Experiment Protocols
  • /
  • Parameters_D253.s2s
Raw File Download
Permalinks

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:8ed0bc61f74cbe8b9d07278a25fd9f49c0af3f2b
directory badge Iframe embedding
swh:1:dir:73ffcf87dce87be96f418e9499e77c2335fd199b
content badge Iframe embedding
swh:1:cnt:a117bff2c2eca46daa3b2dbb9e946ea68b35593b
Citations

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
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (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–2025, 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— Contact— JavaScript license information— Web API