2.2 - 2.3 Migration: Read Only and Constrained Notation

In the string representation of a ParameterSet, constrained parameters were notated with a \* symbol in the far left.

In version 2.3, this is replaced with a C. Parameters that are read-only for other reasons (i.e. exposed model parameters) are noted with an R.


In [1]:
import phoebe

In [2]:
b = phoebe.default_binary()

In [3]:
print(b.filter(qualifier=['sma', 'incl', 'asini']))


ParameterSet: 12 parameters
C          incl@primary@component: 90.0 deg
C        incl@secondary@component: 90.0 deg
            incl@binary@component: 90.0 deg
             sma@binary@component: 5.3 solRad
C          asini@binary@component: 5.3 solRad
C           sma@primary@component: 2.65 solRad
C         sma@secondary@component: 2.65 solRad
                 asini@constraint: {sma@binary@component} * (sin({incl@binary@component}))
           sma@primary@constraint: {sma@binary@component} / (1.000000 + (1.000000 / {q@binary@component}))
          incl@primary@constraint: {incl@binary@component} + {pitch@primary@component}
         sma@secondary@constraint: {sma@binary@component} / (1.000000 + {q@binary@component})
        incl@secondary@constraint: {incl@binary@component} + {pitch@secondary@component}