neuralib.atlas.util.allen_to_brainrender_coord
- neuralib.atlas.util.allen_to_brainrender_coord(data)[source]
Convert coordinates space of
AllenCCFtoBrainrendercoordinates- Parameters:
data (DataFrame | DataFrame | ndarray) – Dataframe with ‘AP_location’, ‘DV_location’, ‘ML_location’ headers. Or numpy array with Array[float, [N, 3]] or Array[float, 3]
- Returns:
brainrender coordinates. Array[float, [N, 3]] with AP, DV, ML coordinates
- Return type:
ndarray