diff --git a/binarycpython/utils/grid.py b/binarycpython/utils/grid.py index 4e667d2d1e77d58620a2b957e8f8a577e5c89b61..ee822191cbb6d321c301bec2b4a3503823464310 100644 --- a/binarycpython/utils/grid.py +++ b/binarycpython/utils/grid.py @@ -188,10 +188,10 @@ class Population(object): valuerange, resolution, spacingfunc, - precode, probdist, dphasevol, parameter_name, + precode=None, condition=None, ): """spec diff --git a/binarycpython/utils/stellar_types.py b/binarycpython/utils/stellar_types.py index 21760e129fe44906cdce998e4ea71dba1abf94cd..d18a63cf207f22823f1d00ac6dfaeb61191aa4c8 100644 --- a/binarycpython/utils/stellar_types.py +++ b/binarycpython/utils/stellar_types.py @@ -1,4 +1,4 @@ -stellar_type = { +stellar_type_dict = { 0: "low mass main sequence", 1: "Main Sequence", 2: "Hertzsprung Gap", @@ -16,3 +16,22 @@ stellar_type = { 14: "BLACK_HOLE", 15: "MASSLESS REMNANT", } + +stellar_type_dict_short = { + 0: "LMMS", + 1: "MS", + 2: "HG", + 3: "First Giant Branch", + 4: "CHeb", + 5: "EAGB", + 6: "TPAGB", + 7: "HeMS", + 8: "HeHG", + 9: "HeGB", + 10: "HeWD", + 11: "COWD", + 12: "ONeWD", + 13: "NS", + 14: "BH", + 15: "MR", +}