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

How to "turn on" plotting? #6

Open
serbinsh opened this issue Nov 6, 2015 · 1 comment
Open

How to "turn on" plotting? #6

serbinsh opened this issue Nov 6, 2015 · 1 comment
Assignees

Comments

@serbinsh
Copy link
Member

serbinsh commented Nov 6, 2015

@amcmahonBNL
Sorry for the barrage but I am still trying to get a handle on the code. I note in issue #5 that the processed reflectances are all coming out near 1, suggesting a possible calculation error. To try and better understand the issues I was hoping to turn on or enable plotting in the code. Can you do this through the config.txt file, should it already be plotting, or is there some other place I need to update the code to create the plots? I have matplotlib installed.

I apologize if I missed it somewhere in the docs

@amcmahon01
Copy link
Member

No worries, I know the feeling. To "enable" plotting you just need to uncomment lines in main.py (depending on what you want plotted). The plots there now are for the individual white plates with the white plate average (line 66) and for reflectance at a particular stop (line 72), but I can quickly add some for plotting Chan A vs Chan B for input data or something else if you think that would be helpful. If you're using eclipse you can also add breakpoints and watches for variables/arrays to watch the values as it goes through each step.


From: Shawn P. Serbin [notifications@github.com]
Sent: Friday, November 06, 2015 10:01 AM
To: TEST-BNL/UniSpec_Processing
Cc: Mcmahon, Andrew
Subject: [UniSpec_Processing] How to "turn on" plotting? (#6)

@amcmahonBNLhttps://github.com/amcmahonBNL
Sorry for the barrage but I am still trying to get a handle on the code. I note in issue #5#5 that the processed reflectances are all coming out near 1, suggesting a possible calculation error. To try and better understand the issues I was hoping to turn on or enable plotting in the code. Can you do this through the config.txt file, should it already be plotting, or is there some other place I need to update the code to create the plots? I have matplotlib installed.

I apologize if I missed it somewhere in the docs


Reply to this email directly or view it on GitHubhttps://github.com//issues/6.

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