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

Improve plotting of fit results (in data_retrieval) #36

Open
153957 opened this issue Dec 8, 2014 · 0 comments
Open

Improve plotting of fit results (in data_retrieval) #36

153957 opened this issue Dec 8, 2014 · 0 comments

Comments

@153957
Copy link
Member

153957 commented Dec 8, 2014

The fit results are continuous functions, so it would be nicer to plot them as line plots.

Currently the x-points for plotting the fit data are the same as the x-points fo the data that was fit..
This can make the fit less clear in a scatter plot if the source data also have very few data points.

So, it would be better to create a range from x-min to x-max with a bunch of steps (several thousands should be more that enough) and then feed those into the fit function.
If that works we can see if it is better to change the plot style of the fit to normal lines, or to keep them as scatter/step..

For example (current results, low density of points at high pulseheights/integrals):

ph vs pi

@153957 153957 changed the title Improve plotting of fit results Improve plotting of fit results (in data_retrieval) Dec 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant