pyprobound.external.parse_probound_modes

parse_probound_modes(fit_final, layer_specs, count_table, table_idx)

Parses all modes associated with an experiment in a ProBound fit.

Parameters:
  • fit_final (dict[str, Any]) – The ProBound fit, parsed by get_fit_final.

  • layer_specs (Iterable[NonSpecific | PSAM]) – The NonSpecific or PSAM encoding of the binding modes.

  • count_table (CountTable) – The CountTable of that experiment, from parse_probound_tables.

  • table_idx (int) – The index of the experiment in the ProBound fit.

Return type:

list[Mode]

Returns:

A list of Mode objects.