chip_coords2logic

spidr4.tpx4tools.chip_coords2logic(top, eoc, spgroup, spixel, pixel, is_config=False)[source]

Coords to logic x,y position :param half: Half, 0 - bottom, 1 - top :param eoc: End of column 0..223 :param spgroup: Super pixel group 0..15 :param spixel: Super pixel 0..3 :param pixel: Pixel 0..7 :param is_config: Whether or not the coordinates are for a configuration :return: