ZinsLab.org

Steven D. Zins' Physics Projects

User Tools

Site Tools


Sidebar

This site is under construction.

© 2020-2024 Steven D. Zins
All Rights Reserved.

b:slope_compensation

This is an old revision of the document!


Slope Compensation

Miller compensates for the interferometer drift or slope over each page, ie 20 turns. Advantage calculation are on single page. see p214

The purpose of this test is to find the effect of slope on the sin[ ] component in an interval of 2 Pi.

FindFit Approach

See ApexMeansTest.nb

Fourier analysis assumes that a signal repeats on some fixed cycle. If a signal does not do this, then FA cannot be used. At least without closing the cycle or the like.

This program shows that when the “c” parameter is removed from the model expression, then the “a” parameter (on Sin[]) increases wildly. But when the “c” is present, the “a” parameter matches the “a1” in the data(xy) generation code

also to find out how to structure data for FindFit “data”

Clear[x,y];
imax=20
x2=Table[i,{i,imax}];
Print["x  ",x2];
 
a1=1; b1=25; c1=20;
y= Table[a1 Sin[2 Pi .1 x1] + b1 + c1  x1,{x1,imax}];
Print["y  ",y];
 
ff=FindFit[y,a  Sin[2 Pi .1 x] + b + c  x,{a,b,c},x];
Print["ff  ",ff];
 
 
x  {0.5,1.,1.5,2.,2.5,3.,3.5,4.,4.5,5.,5.5,6.,6.5,7.,7.5,8.,8.5,9.,9.5,10.}
 
xy  {{0.5,30.3197},{1.,35.6081},{1.5,40.837},{2.,45.9839},{2.5,51.0346},{3.,55.9839},{3.5,60.837},{4.,65.6081},{4.5,70.3197},{5.,75.},{5.5,79.6803},{6.,84.3919},{6.5,89.163},{7.,94.0161},{7.5,98.9654},{8.,104.016},{8.5,109.163},{9.,114.392},{9.5,119.68},{10.,125.}}
 
angles {0.314159,0.628319,0.942478,1.25664,1.5708,1.88496,2.19911,2.51327,2.82743,3.14159,3.45575,3.76991,4.08407,4.39823,4.71239,5.02655,5.34071,5.65487,5.96903,6.28319}
 
ff  {a->1.03457,b->25.,c->10.}

First approach.

I could do the same over whole day: 24h * 60t/h = 1440 turns. The daily compensation could change could be overall zero but be cyclic over day. This would cause a daily cycle in the interferometric sin component, albeit 1/1440 as large each day.

Or even an entire set of days in name-list.

Effect of slope on sin[ ] in interval 2 Pi.

b/slope_compensation.1643149861.txt.gz · Last modified: 2022/01/25 17:31 by sz