Template Tutorial

Setup

Let's first make sure we have the latest version of PHOEBE 2.0 installed. (You can comment out this line if you don't use pip for your installation or don't want to update to the latest release).


In [ ]:
!pip install -I "phoebe>=2.0,<2.1"

As always, let's do imports and initialize a logger and a new Bundle. See Building a System for more details.


In [1]:
%matplotlib inline

In [1]:
import phoebe
from phoebe import u # units
import numpy as np
import matplotlib.pyplot as plt

logger = phoebe.logger(clevel='INFO')

b = phoebe.default_binary()


/usr/local/lib/python2.7/dist-packages/IPython/kernel/__init__.py:13: ShimWarning: The `IPython.kernel` package has been deprecated. You should import from ipykernel or jupyter_client instead.
  "You should import from ipykernel or jupyter_client instead.", ShimWarning)
WARNING:CONSTRAINT:constraint for radius not yet implemented
Sat, 17 Oct 2015 11:12 CONSTRAINT   WARNING constraint for radius not yet implemented
WARNING:CONSTRAINT:constraint for radius not yet implemented
Sat, 17 Oct 2015 11:12 CONSTRAINT   WARNING constraint for radius not yet implemented

In [ ]: