Select Git revision
Starsphere.cpp
Forked from
einsteinathome / graphicsframework
Source project has a limited visibility.
-
Oliver Bock authored
* For sphere rotation * For observatory positioning Note: the original code seems to have a bug which explains a slight discrepancy between this new and the original visualisation. In the original code gmt_dtime() is used to get the GMT time, but this function is a mere #define of dtime() under unix, hence any difference of dtime() and gmt_dtime() will result in 0 instead of the real UTC/GMT offset. Note: dtime() returns local time...
Oliver Bock authored* For sphere rotation * For observatory positioning Note: the original code seems to have a bug which explains a slight discrepancy between this new and the original visualisation. In the original code gmt_dtime() is used to get the GMT time, but this function is a mere #define of dtime() under unix, hence any difference of dtime() and gmt_dtime() will result in 0 instead of the real UTC/GMT offset. Note: dtime() returns local time...
test_hom.py 396 B
import pykat
kat = pykat.finesse.kat()
kat.parseCommands("""
l l1 1 0 0 n1
sq l2 0 10 0 n4
bs bs1 0.5 0.5 0 0 n1 n2 n3 n4
fsig noise l1 amp 1 0 1
qhd qhd180 180 n2 n3
qhd qhd0 0 n2 n3
qhdS qhd2 0 n2 n3
qhdN qhd2 0 n2 n3
scale meter qhd180
scale meter qhd0
scale meter qhd2
scale 2 qhd0
xaxis l1 phase lin 0 360 360
""")
print "".join(kat.generateKatScript())
out = kat.run()
out.plot()