single_cell_parsersynapse_mapperSynapseMapper_pt_in_box

SynapseMapper._pt_in_box

single_cell_parser.synapse_mapper.SynapseMapper._pt_in_box(pt, box)

Check if a point is within a bounding box

Parameters:
  • pt (tuple) – The point to check.

  • box (tuple) – The bounding box (minx, maxx, miny, maxy, minz, maxz).

Returns:

True if the point is within the bounding box, False otherwise.

Return type:

bool