{"id":98,"date":"2009-11-11T14:11:36","date_gmt":"2009-11-11T12:11:36","guid":{"rendered":"http:\/\/www.lookingatnothing.com\/?p=98"},"modified":"2011-01-04T17:01:04","modified_gmt":"2011-01-04T08:01:04","slug":"quick-note-regarding-the-binning-routines","status":"publish","type":"post","link":"https:\/\/lookingatnothing.com\/index.php\/archives\/98","title":{"rendered":"Quick note regarding the binning routines"},"content":{"rendered":"<p>The two binning routines made available bin _only_, they do not normalise to the number of pixels in the bins. In order to achieve this, adapt the <a href=\"http:\/\/www.lookingatnothing.com\/?p=90\">weighted binning<\/a> routine by changing line 39 to:<\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier; color: #000000;\">Ibin(bini)=sum(Isort(qi(1):qi(2)).*weightfact).\/sum(weightfact);<\/p>\n<div><\/div>\n<p><span style=\"font-family: Courier, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: small;\"><span style=\"line-height: normal;\">I have not looked at a similar solution for the equal intensity binning routine yet.<\/span><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>The two binning routines made available bin _only_, they do not normalise to the number of pixels in the bins. In order to achieve this, <a class=\"mh-excerpt-more\" href=\"https:\/\/lookingatnothing.com\/index.php\/archives\/98\" title=\"Quick note regarding the binning routines\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1,53],"tags":[31],"class_list":["post-98","post","type-post","status-publish","format-standard","hentry","category-uncategorized","category-software-2","tag-software"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1gZ2v-1A","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/lookingatnothing.com\/index.php\/wp-json\/wp\/v2\/posts\/98","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lookingatnothing.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lookingatnothing.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lookingatnothing.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lookingatnothing.com\/index.php\/wp-json\/wp\/v2\/comments?post=98"}],"version-history":[{"count":2,"href":"https:\/\/lookingatnothing.com\/index.php\/wp-json\/wp\/v2\/posts\/98\/revisions"}],"predecessor-version":[{"id":275,"href":"https:\/\/lookingatnothing.com\/index.php\/wp-json\/wp\/v2\/posts\/98\/revisions\/275"}],"wp:attachment":[{"href":"https:\/\/lookingatnothing.com\/index.php\/wp-json\/wp\/v2\/media?parent=98"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lookingatnothing.com\/index.php\/wp-json\/wp\/v2\/categories?post=98"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lookingatnothing.com\/index.php\/wp-json\/wp\/v2\/tags?post=98"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}