Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a DAEStub windows Service #1047

Closed
NickDraper opened this issue Aug 5, 2008 · 1 comment
Closed

Create a DAEStub windows Service #1047

NickDraper opened this issue Aug 5, 2008 · 1 comment
Assignees
Milestone

Comments

@NickDraper
Copy link
Contributor

This should operate as a windows service and respond to calls by LoadDAE with simple generated data responses.

At the moment this involves responding to the GETDAT request that returns the data from a single spectrum.

The data returned should alter over time to pretend to be accumulating neutron counts.

It may be worth using Paolo equation to generate the data (or a simpler one if required)

I_(exp(a/2_(a_s^2+2_(x-c)))erfc((a_s^2+(x-c))/sqrt(2_s^2))+exp(b/2_(b_s^2-2_(x-c)))_erfc((bs^2-(x-c))/sqrt(s*s^2)))+bk

I fitted the peak near 79400 usec in spectrum 4 of the file HRP38692.RAW

The initial guesses for this peak are:

I=297
a=2.
b=0.03
c=79400
s=8
bk=8

@NickDraper
Copy link
Contributor Author

This issue was originally trac ticket 199

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants