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

Home » Public Forums » archive » % POLY_FIT: Warning: Invert detected a small pivot element - help needed
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: % POLY_FIT: Warning: Invert detected a small pivot element - help needed [message #71710 is a reply to message #71353] Sun, 11 July 2010 03:43 Go to previous message
Giuseppe Papa is currently offline  Giuseppe Papa
Messages: 27
Registered: February 2010
Junior Member
Hi, I solved this with my code:

poly_coefs = poly_fit(xvector, yvector, 3,/double,status=estatus)
if estatus eq 2 then begin
xvector=[0,xvector]
yvector=annularSum[xvector]
poly_coefs = poly_fit(xvector, yvector, 3,/double,status=estatus)
print, 'estatusss',estatus
endif

Also, you can add more cases with a case 1: ....

Best regards.
Luis Navarro D.
luis.navarro.dominguez@gmail.com

---
frmsrcurl: http://compgroups.net/comp.lang.idl-pvwave/-POLY_FIT-Warning -Invert-detected-a-small-pivot-element-help-needed
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: trying to export pixel data from .dat files, based on coordinate loc
Next Topic: Nearest Neighbor ... again!

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

Current Time: Fri Oct 10 22:15:59 PDT 2025

Total time taken to generate the page: 1.84270 seconds