ranking_HM.Rank.create_coh_score_instance#
Back to Class page
Summary#
Removed from init to make saved rank objects independent of the cogwheel version
Signature#
def create_coh_score_instance(self, cs_ver = 'JR', cs_table = None, example_trigs = None, **cs_kwargs)
Name |
Type |
Default |
Description |
|---|---|---|---|
|
‘JR’ |
Version of coherent score to use, can be ‘JR’, ‘O2’, ‘mz’ |
|
|
None |
Path to file with coherent score table (can be dictionary mapping (bank_id, subbank ID) to file), in case cs_ver == ‘mz’, it is instead a path to the appropriate coherent score npz file |
|
|
None |
List of example triggers to use for coherent score |
|
|
Additional arguments to pass to the coherent score |
Output variables#
Return annotation |
Docstring type |
Description |
|---|---|---|
|
Instance of coherent score |
Docstring#
Removed from init to make saved rank objects independent of
the cogwheel version
:param cs_ver:
Version of coherent score to use, can be 'JR', 'O2', 'mz'
:param cs_table:
Path to file with coherent score table (can be dictionary mapping
(bank_id, subbank ID) to file), in case cs_ver == 'mz', it is
instead a path to the appropriate coherent score npz file
:param example_trigs: List of example triggers to use for coherent score
:param cs_kwargs: Additional arguments to pass to the coherent score
:return: Instance of coherent score