Skip to content

Computing available targets #431

Description

@forero

I am updating the fiberassign tutorial here
https://github.com/desihub/tutorials/blob/39ab3f17a648322e44c7ab932eead2edaeb335f8/FiberAssignAlgorithms_Part1.ipynb

In that notebook the available targets are computed using a tree that comes from a C++ method (TargetTree) that used to be in fiberassign

# Compute the targets available to all positioners
tree = TargetTree(tgs, 0.01)
tgsavail = TargetsAvailable(hw, tgs, tiles, tree)

That C++ internal method was replaced by scipy KDTree in PR #353.
What would be then the best way to compute tgsavail with the current fiberassign version?

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions