def p2bin (self, p ):
        """Return the bin index for a position.
        
        """
        return p/self.binsize
dataset/ETHPy150Open taoliu/taolib/CoreLib/BinKeeper/__init__.py/BinKeeperI.p2bin/original