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 do we calculate uncertainty when channels are binned #14

Open
hughbg opened this issue May 24, 2018 · 1 comment
Open

How do we calculate uncertainty when channels are binned #14

hughbg opened this issue May 24, 2018 · 1 comment

Comments

@hughbg
Copy link
Owner

hughbg commented May 24, 2018

Channels have to be binned by 1MHz. Each channel has a different number of points flagged within it. What is the uncertainty of the final binned channel?

@hughbg
Copy link
Owner Author

hughbg commented Jun 4, 2018

Binning is necessary for HiBayes. I'm not sure why it has to be 1MHz because there is a setting for the bin size in the code, and presumably it can be changed.

Currently the uncertainty in a channel is the RMS of the channel. This is calculated on the non-masked, non NaN values in the channel, which will be different for each channel. Perhaps need to be weighted in some way. If we have the weighted variance for several channels, and the channels are averaged, then the variances can be added.

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

1 participant