comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » reading old code... why would one do this?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
reading old code... why would one do this? [message #68458] Thu, 22 October 2009 14:36
wallabadah is currently offline  wallabadah
Messages: 28
Registered: November 2005
Junior Member
Hi All,

I'm in the process of reviewing and rewriting some old routines I
inherited... and I've come across the following code snippet:

a = svdfit(x, y, fitting_order + 1, measure_errors = e, $
variance = var, chisq = c)
; this line added to give results consistent with IDL pre 5.4
var = var * c

I'm a bit worried about the last line - I don't have access to IDL
documentation pre version 6.1, so I have two questions...
- was there some change in the output of svdfit that would require
such an 'adjustment' of the variance value?
- if not - maybe the statistics gurus can tell me if variance * chisq
has some mystical statistical meaning that I'm missing

cheers,

Will.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Fast Browsing Tips
Next Topic: Re: reading old code... why would one do this?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 00:12:00 PDT 2025

Total time taken to generate the page: 0.16128 seconds