fafbseg.flywire.find_anchor_loc¶
- fafbseg.flywire.find_anchor_loc(root_ids, validate=False, max_threads=4, progress=True, *, dataset=None)[source]¶
Find a representative coordinate.
This works by querying the L2 cache and using the representative coordinate for the largest L2 chunk.
- Parameters:
root_ids (int | list thereof | NeuronCriteria) – Root ID(s) to get coordinate for.
validate (bool) – If True, will validate the x/y/z position. I have yet to encounter a representative coordinate that wasn’t mapping to the correct L2 chunk - therefore this parameter is False by default.
max_threads (int) – Number of parallel threads to use.
dataset ("public" | "production" | "sandbox" | "flat_630", optional) – Against which FlyWire dataset to query. If
None
will fall back to the default dataset (seeset_default_dataset()
).
- Return type:
pandas.DataFrame