Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1# -*- coding: utf-8 -*- 

2from .starry_version import __version__ 

3 

4 

5# Store the package directory 

6import os 

7 

8_PACKAGEDIR = os.path.abspath(os.path.dirname(__file__)) 

9 

10 

11# Force double precision 

12import theano.tensor as tt 

13 

14tt.config.floatX = "float64" 

15 

16 

17# Import the main interface 

18from ._config import config 

19from . import kepler, linalg, maps 

20from .maps import Map 

21from .kepler import Primary, Secondary, System 

22 

23 

24# Clean up the namespace 

25del tt 

26del os 

27 

28 

29__all__ = [ 

30 "__version__", 

31 "kepler", 

32 "linalg", 

33 "maps", 

34 "Map", 

35 "Primary", 

36 "Secondary", 

37 "System", 

38]