def __init__(self,<EOL>dtype=np.float64, antialiasing=False,<EOL>method='<STR_LIT>', fill_value=np.nan,<EOL>references=[], grid=None,<EOL>girdcoordrange=((<NUM_LIT:0>, <NUM_LIT:1>), (<NUM_LIT:0>, <NUM_LIT:1>)), resolution=(<NUM_LIT:100>, <NUM_LIT:100>),<EOL>record_mean=False, record_variance=False,<EOL>record_density=False):
self.opts = {'<STR_LIT>':           dtype,<EOL>'<STR_LIT>':    antialiasing,<EOL>'<STR_LIT>':      references,<EOL>'<STR_LIT>':            grid,<EOL>'<STR_LIT>':          method,<EOL>'<STR_LIT>':      fill_value,<EOL>'<STR_LIT>':           girdcoordrange,<EOL>'<STR_LIT>':      resolution,<EOL>'<STR_LIT>':     record_mean,<EOL>'<STR_LIT>': record_variance,<EOL>'<STR_LIT>':  record_density}<EOL>self.reset()<EOL>
Args:
            method (str): Method how to merge values arriving in same cell
                one of ('last','max','min','sum')
            fill_value (float): values to be used for empty cells

        TODO: continue documenting