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 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
# | |
# 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
#!/usr/bin/ruby | |
require "fileutils" | |
#infos about the images | |
prefix= "X10s100l5m_MOV4_topo_"; | |
beginning= 5; | |
ending=114; | |
produce_name = "img"; |
NewerOlder