pool_from_candidate

jwst.associations.generator.generate_per_candidate.pool_from_candidate(pool, candidate)[source]

Create a pool containing only the candidate.

Parameters:
poolAssociationPool

The pool to filter from.

candidatestr

The candidate ID to filter.

Returns:
candidate_poolAssociationPool

Pool containing only the candidate.