The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 what is the best approach to this problem...?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

jspector

USA
Posts

Posted - 05/27/2008 :  2:48:15 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version : OriginPro8 SR1
Operating System: XP

Hi. I'm wondering what you all would suggest is the best way to approach this problem. I have ~1,000 data files, on each file I would like to

1) import it
2) do a 2D frequency count/binning on it
3) make a plot from (2)
4) do a 2D gaussian fit to the plot
5) get out the fit parameters.

I'd like to do this on each data file. I'm not sure if the best method is a script, program, analysis template or what. I've started a program that does some of this, but ran into trouble when dealing with the histograms. Could someone please send me in the right direction ?
Thanks,
-Jeff

Echo_Chu

China
Posts

Posted - 05/28/2008 :  06:29:08 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi, Jeff,

It should be worked out by script and a auto-updated OPJ.

You can create an OPJ which includes your desired auto-updated result. And then create a script to automatically import files to the OPJ. You can refer to autofit.ogs in our \Samples\LabTalk Script Examples
If you met any problem, please feel free to contact us

Echo
OriginLab Corp
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000