def getRankIndex(rulingSeparationWidthMillimeters, screenOrdinate):
 return int(round((screenOrdinate / rulingSeparationWidthMillimeters)))

def getRankIndex ( rulingSeparationWidthMillimeters , screenOrdinate ) : return int ( round ( ( screenOrdinate / rulingSeparationWidthMillimeters ) ) )
get rank index .