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

make plot in Sampling_example.ipynb be site means #26

Open
Swanson-Hysell opened this issue Sep 12, 2023 · 0 comments
Open

make plot in Sampling_example.ipynb be site means #26

Swanson-Hysell opened this issue Sep 12, 2023 · 0 comments

Comments

@Swanson-Hysell
Copy link
Member

The example shown in Sampling_example.ipynb generates samples from 10 sites with 4 samples per site

params0 = smp.Params(N=10,
                     n0=4,
                     kappa_within_site=100,
                     site_lat=10, 
                     site_long=0,
                     outlier_rate=0.10,
                     secular_method="G",
                     kappa_secular=None)

All of these samples are then plotted which makes them look like independent samples. It is uncommon to plot sample data while skipping the site hierarchy as done here. I think that it makes sense to either generate the sample with n0=1 or to calculate a site mean for each site. This would need to be done in directional space and then transformed to VGP space.

It also seems valuable to have this example show the angular error from the true pole for the sample. This would be illustrative.

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