@@ -1063,18 +1063,18 @@ <h1>Source code for ehtim.plotting.summary_plots</h1><div class="highlight"><pre
1063
1063
1064
1064
< span class ="c1 "> # compute chi^2</ span >
1065
1065
< span class ="n "> chi2pvis</ span > < span class ="o "> =</ span > < span class ="n "> obs</ span > < span class ="o "> .</ span > < span class ="n "> polchisq</ span > < span class ="p "> (</ span > < span class ="n "> im</ span > < span class ="p "> ,</ span > < span class ="n "> dtype</ span > < span class ="o "> =</ span > < span class ="s1 "> 'm'</ span > < span class ="p "> ,</ span > < span class ="n "> ttype</ span > < span class ="o "> =</ span > < span class ="s1 "> 'nfft'</ span > < span class ="p "> ,</ span >
1066
- < span class ="n "> systematic_noise</ span > < span class ="o "> =</ span > < span class ="n "> sysnoise</ span > < span class ="p "> )</ span >
1066
+ < span class ="n "> systematic_noise</ span > < span class ="o "> =</ span > < span class ="n "> sysnoise</ span > < span class ="p "> , </ span > < span class =" n " > pol_trans </ span > < span class =" o " > = </ span > < span class =" kc " > False </ span > < span class =" p " > )</ span >
1067
1067
< span class ="n "> chi2m</ span > < span class ="o "> =</ span > < span class ="n "> obs</ span > < span class ="o "> .</ span > < span class ="n "> polchisq</ span > < span class ="p "> (</ span > < span class ="n "> im</ span > < span class ="p "> ,</ span > < span class ="n "> dtype</ span > < span class ="o "> =</ span > < span class ="s1 "> 'm'</ span > < span class ="p "> ,</ span > < span class ="n "> ttype</ span > < span class ="o "> =</ span > < span class ="s1 "> 'nfft'</ span > < span class ="p "> ,</ span >
1068
- < span class ="n "> systematic_noise</ span > < span class ="o "> =</ span > < span class ="n "> sysnoise</ span > < span class ="p "> )</ span >
1068
+ < span class ="n "> systematic_noise</ span > < span class ="o "> =</ span > < span class ="n "> sysnoise</ span > < span class ="p "> , </ span > < span class =" n " > pol_trans </ span > < span class =" o " > = </ span > < span class =" kc " > False </ span > < span class =" p " > )</ span >
1069
1069
< span class ="n "> chi2qvis</ span > < span class ="o "> =</ span > < span class ="n "> obs</ span > < span class ="o "> .</ span > < span class ="n "> chisq</ span > < span class ="p "> (</ span > < span class ="n "> im</ span > < span class ="p "> ,</ span > < span class ="n "> dtype</ span > < span class ="o "> =</ span > < span class ="s1 "> 'vis'</ span > < span class ="p "> ,</ span > < span class ="n "> ttype</ span > < span class ="o "> =</ span > < span class ="s1 "> 'nfft'</ span > < span class ="p "> ,</ span >
1070
1070
< span class ="n "> systematic_noise</ span > < span class ="o "> =</ span > < span class ="n "> sysnoise</ span > < span class ="p "> ,</ span > < span class ="n "> pol</ span > < span class ="o "> =</ span > < span class ="s1 "> 'Q'</ span > < span class ="p "> )</ span >
1071
1071
< span class ="n "> chi2uvis</ span > < span class ="o "> =</ span > < span class ="n "> obs</ span > < span class ="o "> .</ span > < span class ="n "> chisq</ span > < span class ="p "> (</ span > < span class ="n "> im</ span > < span class ="p "> ,</ span > < span class ="n "> dtype</ span > < span class ="o "> =</ span > < span class ="s1 "> 'vis'</ span > < span class ="p "> ,</ span > < span class ="n "> ttype</ span > < span class ="o "> =</ span > < span class ="s1 "> 'nfft'</ span > < span class ="p "> ,</ span >
1072
1072
< span class ="n "> systematic_noise</ span > < span class ="o "> =</ span > < span class ="n "> sysnoise</ span > < span class ="p "> ,</ span > < span class ="n "> pol</ span > < span class ="o "> =</ span > < span class ="s1 "> 'U'</ span > < span class ="p "> )</ span >
1073
1073
1074
1074
< span class ="n "> chi2pvis_uncal</ span > < span class ="o "> =</ span > < span class ="n "> obs_uncal</ span > < span class ="o "> .</ span > < span class ="n "> polchisq</ span > < span class ="p "> (</ span > < span class ="n "> im</ span > < span class ="p "> ,</ span > < span class ="n "> dtype</ span > < span class ="o "> =</ span > < span class ="s1 "> 'm'</ span > < span class ="p "> ,</ span > < span class ="n "> ttype</ span > < span class ="o "> =</ span > < span class ="s1 "> 'nfft'</ span > < span class ="p "> ,</ span >
1075
- < span class ="n "> systematic_noise</ span > < span class ="o "> =</ span > < span class ="n "> sysnoise</ span > < span class ="p "> )</ span >
1075
+ < span class ="n "> systematic_noise</ span > < span class ="o "> =</ span > < span class ="n "> sysnoise</ span > < span class ="p "> , </ span > < span class =" n " > pol_trans </ span > < span class =" o " > = </ span > < span class =" kc " > False </ span > < span class =" p " > )</ span >
1076
1076
< span class ="n "> chi2m_uncal</ span > < span class ="o "> =</ span > < span class ="n "> obs_uncal</ span > < span class ="o "> .</ span > < span class ="n "> polchisq</ span > < span class ="p "> (</ span > < span class ="n "> im</ span > < span class ="p "> ,</ span > < span class ="n "> dtype</ span > < span class ="o "> =</ span > < span class ="s1 "> 'm'</ span > < span class ="p "> ,</ span > < span class ="n "> ttype</ span > < span class ="o "> =</ span > < span class ="s1 "> 'nfft'</ span > < span class ="p "> ,</ span >
1077
- < span class ="n "> systematic_noise</ span > < span class ="o "> =</ span > < span class ="n "> sysnoise</ span > < span class ="p "> )</ span >
1077
+ < span class ="n "> systematic_noise</ span > < span class ="o "> =</ span > < span class ="n "> sysnoise</ span > < span class ="p "> , </ span > < span class =" n " > pol_trans </ span > < span class =" o " > = </ span > < span class =" kc " > False </ span > < span class =" p " > )</ span >
1078
1078
< span class ="n "> chi2qvis_uncal</ span > < span class ="o "> =</ span > < span class ="n "> obs_uncal</ span > < span class ="o "> .</ span > < span class ="n "> chisq</ span > < span class ="p "> (</ span > < span class ="n "> im</ span > < span class ="p "> ,</ span > < span class ="n "> dtype</ span > < span class ="o "> =</ span > < span class ="s1 "> 'vis'</ span > < span class ="p "> ,</ span > < span class ="n "> ttype</ span > < span class ="o "> =</ span > < span class ="s1 "> 'nfft'</ span > < span class ="p "> ,</ span >
1079
1079
< span class ="n "> systematic_noise</ span > < span class ="o "> =</ span > < span class ="n "> sysnoise</ span > < span class ="p "> ,</ span > < span class ="n "> pol</ span > < span class ="o "> =</ span > < span class ="s1 "> 'Q'</ span > < span class ="p "> )</ span >
1080
1080
< span class ="n "> chi2uvis_uncal</ span > < span class ="o "> =</ span > < span class ="n "> obs_uncal</ span > < span class ="o "> .</ span > < span class ="n "> chisq</ span > < span class ="p "> (</ span > < span class ="n "> im</ span > < span class ="p "> ,</ span > < span class ="n "> dtype</ span > < span class ="o "> =</ span > < span class ="s1 "> 'vis'</ span > < span class ="p "> ,</ span > < span class ="n "> ttype</ span > < span class ="o "> =</ span > < span class ="s1 "> 'nfft'</ span > < span class ="p "> ,</ span >
0 commit comments