This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
require "fileutils" | |
#infos about the images | |
prefix= "X10s100l5m_MOV4_topo_"; | |
beginning= 5; | |
ending=114; | |
produce_name = "img"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# mexopts.sh Shell script for configuring MEX-file creation script, | |
# mex. These options were tested with the specified compiler. | |
# | |
# usage: Do not call this file directly; it is sourced by the | |
# mex shell script. Modify only if you don't like the | |
# defaults after running mex. No spaces are allowed | |
# around the '=' in the variable assignment. | |
# | |
# Note: For the version of system compiler supported with this release, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma rtGlobals=1 // Use modern global access method. | |
function tiltcompensation(spiralxsen,spiralysen,spiralzfast) | |
wave spiralxsen,spiralysen,spiralzfast | |
wave xfit,zfit,yfit | |
wave W_StatsLinearCorrelationTest,spiraltilt | |
wave spiraldiv,lineRatio | |
variable x_corr,y_corr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Simple makefile | |
PROGRAMS = main | |
all: | |
g++ main.cpp -o $(PROGRAMS) | |
clean: | |
rm -f *.o $(PROGRAMS) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma pack(2) // All Igor structures are two-byte-aligned. | |
struct NameToWaveParams { | |
Handle nameH; // Name of wave in the current data folder. | |
waveHndl result; | |
}; | |
typedef struct NameToWaveParams NameToWaveParams; | |
#pragma pack() // Reset structure alignment. | |
extern "C" int | |
NameToWave(NameToWaveParams* p) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma rtGlobals=1 // Use modern global access method. | |
function AttoTask(s) | |
STRUCT WMBackgroundStruct &s | |
attocubegetdata(100,20000) | |
end | |
function StartTestTask() | |
CtrlNamedBackground Atto,proc=AttoTask |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma rtGlobals=1 // Use modern global access method. | |
Function UserOutAndTrigger() | |
//UserOutAndTrigger function is automatically called right before an image is started | |
Variable pulseWidth = 10/50000 //in seconds min is 1/50000, max is slightly over 1.7 secs | |
Variable pulseHeight = 5 //in Voltage min -10 max 10 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"bold_folder_labels": true, | |
"caret_style": "phase", | |
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme", | |
"fade_fold_buttons": false, | |
"highlight_line": true, | |
"ignored_packages": | |
[ | |
"Vintage", | |
"AAAPackageDev", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// Colors | |
"theme": "Spacegray.sublime-theme", | |
"color_scheme": "Packages/Theme - Spacegray/base16-ocean.dark.tmTheme", | |
// Font | |
"font_face": "Menlo", | |
"font_size": 13.0, | |
"font_options": ["subpixel_antialias", "no_bold"], | |
"line_padding_bottom": 0, |
OlderNewer