|
From: Hans-Bernhard B. <HBB...@t-...> - 2010-01-28 22:23:30
|
super zach wrote: > Hi all > > I am trying to fit a function that takes data from two files. Is there a > way to do this using GNUPLOT? The request, as written, doesn't make sense. > I am trying to fit a lightcurve by considering light coming from two > sources, lets call them A & B. What do you consider a "light curve"? > I thus have two text files A.dat & B.dat that each contain three columns: > time / flux / flux error > > I have an equation I want to fit to these data files that roughly equates to > (though is actually more complicated): > > total_flux(x) = K*flux_A(x) + L*flux_B(x) where K & L are constants > I want to determine by fitting. And where do you intend total_flux(x) to come from? I don't think your description of what you're trying to do is workable, most likely because you've reduced it too far from what you're actually trying todo. You'll have to show an actual, complete example. What are those functions, what do they have to do with the data files, and what is it you're actually trying to achive? |