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

Home » Public Forums » archive » cubic spline fitting
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
cubic spline fitting [message #89684] Thu, 13 November 2014 18:18 Go to previous message
iansmith@bigpond.net. is currently offline  iansmith@bigpond.net.
Messages: 4
Registered: October 2014
Junior Member
I am trying to use the IDL routines

spl_init and spl_interp

to do a cubic spline fit to variables that are vectors with 45 elements.
ie y is not a function of x.

I am getting 2 compilation errors where it seems to be objecting to using a vector for y instead of y being a function of x.

IDL> .compile -v 'C:\Ian_Plots\complines 27102014 FYZ Clumps SiO 2-1 and 5-4 Peak Tbs dV30.pro'
% Compiled module: LOAD_MOLDATA.

spl_init,(x_nH_5,y_Tb13N_5,double)
^
% Syntax error.
At: C:\Ian_Plots\complines 27102014 FYZ Clumps SiO 2-1 and 5-4 Peak Tbs dV30.pro, Line 476

spl_interp,(x_nH_5,y_Tb13N_5,x2_nH_5,y2_13N_5,double)
^
% Syntax error.
At: C:\Ian_Plots\complines 27102014 FYZ Clumps SiO 2-1 and 5-4 Peak Tbs dV30.pro, Line 481
% 2 Compilation error(s) in module $MAIN$.

Is my diagnosis correct?

Is there a way around this problem ?

I would appreciate some help.

Regards

Ian Smith

Dept of Science and Engineering
Macquarie University
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: CGHISTOPLOT - How to make inward X-axis tick marks?
Next Topic: N3 (authomatic correction of intensity in MRI data)

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

Current Time: Wed Oct 08 11:46:52 PDT 2025

Total time taken to generate the page: 0.00196 seconds