Issue 36 in casacore: Documentation error

0 views
Skip to first unread message

casa...@googlecode.com

unread,
Jul 19, 2011, 9:43:03 AM7/19/11
to casacor...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

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);


casa...@googlecode.com

unread,
Jul 21, 2011, 5:28:14 AM7/21/11
to casacor...@googlegroups.com
Updates:
Status: Fixed
Owner: gervandi...@gmail.com

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)

Reply all
Reply to author
Forward
0 new messages