Welcome to iraf.net Friday, March 29 2024 @ 11:57 AM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 nfit1d error
   
donzelli
 11/25/2014 01:53AM (Read 1024 times)  
+++--
Chatty

Status: offline


Registered: 04/14/2010
Posts: 68
Hi, when I try to fit data in a table using 'users' function I receive this message: ERROR: Error in variable name. I've done all I know, i.e.
unlearn the task, parameters, etc. The task works fine with 'galprof' or whatever function. You can see below the 'userpars' and the sersic function definition.

regards


c1*exp(-(x/c2)**c3)


(functio= sersic) \$this->_split2($m[0])function or file name
(c1 = 5000.) \$this->_split2($m[0])initial guess for 1st coefficient
(c2 = 0.01) \$this->_split2($m[0])initial guess for 2nd coefficient
(c3 = 0.25) \$this->_split2($m[0])initial guess for 3rd coefficient
(c4 = INDEF) \$this->_split2($m[0])initial guess for 4th coefficient
(c5 = INDEF) \$this->_split2($m[0])initial guess for 5th coefficient
(c6 = INDEF) \$this->_split2($m[0])initial guess for 6th coefficient
(c7 = INDEF) \$this->_split2($m[0])initial guess for 7th coefficient
(c8 = INDEF) \$this->_split2($m[0])initial guess for 8th coefficient
(c9 = INDEF) \$this->_split2($m[0])initial guess for 9th coefficient
(c10 = INDEF) \$this->_split2($m[0])initial guess for 10th coefficient
(v1 = yes) \$this->_split2($m[0])vary 1st coefficient ?
(v2 = yes) \$this->_split2($m[0])vary 2nd coefficient ?
(v3 = yes) \$this->_split2($m[0])vary 3rd coefficient ?
(v4 = no) \$this->_split2($m[0])vary 4th coefficient ?
(v5 = no) \$this->_split2($m[0])vary 5th coefficient ?
(v6 = no) \$this->_split2($m[0])vary 6th coefficient ?
(v7 = no) \$this->_split2($m[0])vary 7th coefficient ?
(v8 = no) \$this->_split2($m[0])vary 8th coefficient ?
(v9 = no) \$this->_split2($m[0])vary 9th coefficient ?
(v10 = no) \$this->_split2($m[0])vary 10th coefficient ?
(version= 15May90) \$this->_split2($m[0])date of installation
(mode = al)

 
Profile Email Website
 Quote
fitz
 11/25/2014 02:51AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
The 'function' parameter should have an '@' symbol if what you're specifying is the name of a file, e.g. is 'sersic' is the file containing the expression, the proper parameter is

function="@sersic"

You can also just put the expression directly in the parameter string. See the help page for the USERPARS pset.

 
Profile Email
 Quote
   
Content generated in: 0.08 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login