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
 Batch peak Background Instances
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

zknauss

USA
72 Posts

Posted - 07/18/2022 :  4:13:29 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I'm trying to use the Batch Peak Analysis Using Theme to sort very large data sets and would like to use the Background Instance(s) to speed up the processing however I'm not getting any output from the background processes and can't seem to figure out why. Thank you in advance for any help with this.



ZTK

YimingChen

1649 Posts

Posted - 07/18/2022 :  5:07:30 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Can you provide detailed steps to do the batch peak analysis? Thank you.

James
Go to Top of Page

zknauss

USA
72 Posts

Posted - 07/18/2022 :  6:59:43 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I'm using a custom peak analyzer theme that first separates the baseline and peak components (i.e. baseline subtraction) which is then followed by peak detection and peak fitting. The subtracted baseline corrected baseline with peaks, and individual peak information for each cell is saved in their own sheets. So sheet 1 is the baseline data where each Y is a cell, Sheet 3 is the Peak height data, etc. please let me know if there's any specific information you need. There are a lot of potential settings so I'm not sure which ones you like me to include.

For batch:
Recalculate = None
Theme = custom described above
Result sheet = Peak Properties (Pro)
Output sheet = custom output
Delete intermediate results is checked
Dataset ID = Long Name
Designation = Auto
Starting row = 1
Clear on start = checked
Append by columns
Sequentially initialize parameter values = unchecked
Use background instance(s) to process = 20

24 logical cores total windows 10


ZTK
Go to Top of Page

zknauss

USA
72 Posts

Posted - 07/19/2022 :  08:35:27 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I should say I can see the background instances running there just isn't an output of the data once it's done processing. I'm unsure if its just needing to be unhidden or an output location needs to be designated in the script.

ZTK
Go to Top of Page

YimingChen

1649 Posts

Posted - 07/19/2022 :  11:26:39 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Have you tested the batch analysis with a few traces? If you don't set the background instances, does the output look right? Can you send me the theme file that I can test? Thank you.

James
Go to Top of Page

zknauss

USA
72 Posts

Posted - 07/19/2022 :  12:38:01 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
If I run it on all the traces without background instances it takes a long time (about an hour) but it does run without any issues. Where is the theme stored?

ZTK
Go to Top of Page

zknauss

USA
72 Posts

Posted - 07/19/2022 :  1:00:11 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
https://my.originlab.com/ftp/forum_and_kbase/Images/Test%20file.zip

Found it please see attached that should find baseline of each trace on sheet one, subtract it and output the subtracted data to sheet 2 and the new trace after subtraction to sheet 3. The peak detection theme is run separately and was to large to easily send with its output files.

Also this is the script that works to run it

paMultiY -r 0 iy:=[NCONROIData]"Data (ROIs)"!(1,2:end) theme:="N_CON_Component_Separation -1-" append:=none instance:=<optional>; Save( LPCSTR lpcszFilename = NULL, BOOL bRename = true ); type -b;

ZTK

Edited by - zknauss on 07/19/2022 1:01:37 PM
Go to Top of Page

YimingChen

1649 Posts

Posted - 07/19/2022 :  2:28:20 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I can reproduce the issue. This is because no result sheet is specified in the batch peak analysis dialog for this case and Origin doesn't know which result to collect after distributing the tasks to instances. I will report this case (reference jira id: ORG-25529) and see whether we can improve. Thanks.

James
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