?«Sc @ s( d Z d g Z d d l Z d „ Z d S( s
Arguments: x - Length N list of horizontal coordinates of points
y - Length M list of vertical coordinates of points
x_edges - Length H+1 list of horizontal bin edges
y_edges - Length V+1 list of vertical bin edges
Output: A size VxH binary array, with a 1 in an entry indicating that a point in the list of ordered pairs (x,y)
fell into the corresponding pair of horizontal and vertical bins.
Description: This program is specialized to not count the number of points which lie in each bin, but instead just
detects whether at least one point lies in each bin. Used when generating bar images.
Authors: James Trousdale - firstname.lastname@example.org
my_2d_histiÿÿÿÿNc C sµ