New issue 36 by stevebou...@gmail.com: Documentation error
http://code.google.com/p/casacore/issues/detail?id=36
What steps will reproduce the problem?
1. Using the example code for the Sinusoid1D functional
http://www.astron.nl/casacore/trunk/casacore/doc/html/classcasa_1_1Sinusoid1D.html
2.
3.
What is the expected output? What do you see instead?
The output is as expected but differs from what is in the
documentation, which is off by pi/2.
Instead of -4.911 and 1.0, I get -0.9369 and ~0.0
What version of the product are you using? On what operating system?
< 2 weeks old, from nrao svn, on linux
Please provide any additional information below.
Also I think the the first line in the example should
read:
Sinusoid1D<Double> sf(5.0, 25.0, 7);
instead of:
Sinusoid<Double> sf(5.0, 25.0, 7);
Comment #1 on issue 36 by gervandi...@gmail.com: Documentation error
http://code.google.com/p/casacore/issues/detail?id=36
Stephen,
Thanks. I fully agree.
Fixed on the googlecode branch (will soon be merged into trunk)