BinarySelectorParams

class ssapy.linker.BinarySelectorParams(num_tracks, num_orbits, init_value=1, dtype=<class 'numpy.float64'>)[source][source]

Bases: ModelSelectorParams

Special methods for the binary model selection variables

TODO: Use a masked array here?

Methods Summary

get_linked_track_indices(model_index)

Select those tracks that are linked to the given model_index

get_unlinked_track_indices()

Select those models that are not linked to any tracks

Methods Documentation

get_linked_track_indices(model_index)[source][source]

Select those tracks that are linked to the given model_index

get_unlinked_track_indices()[source][source]

Select those models that are not linked to any tracks