eleanor.models
index
/home/dinilbose/github/eleanor/eleanor/models.py

 
Modules
       
math
numpy
astropy.io.fits
tensorflow

 
Classes
       
builtins.object
Model
Gaussian
Moffat

 
class Gaussian(Model)
    Pretty dumb Gaussian model.
Attributes
----------
shape : tuple
    shape of the TPF. (row_shape, col_shape)
col_ref, row_ref : int, int
    column and row coordinates of the bottom
    left corner of the TPF
 
 
Method resolution order:
Gaussian
Model
builtins.object

Methods defined here:
__call__(self, *params)
Call self as a function.
evaluate(self, flux, xo, yo, a, b, c)
Evaluate the Gaussian model
Parameters
----------
flux : tf.Variable
xo, yo : tf.Variable, tf.Variable
    Center coordiantes of the Gaussian.
a, b, c : tf.Variable, tf.Variable
    Parameters that control the rotation angle
    and the stretch along the major axis of the Gaussian,
    such that the matrix M = [a b ; b c] is positive-definite.
References
----------
https://en.wikipedia.org/wiki/Gaussian_function#Two-dimensional_Gaussian_function

Methods inherited from Model:
__init__(self, shape, col_ref, row_ref)
Initialize self.  See help(type(self)) for accurate signature.

Data descriptors inherited from Model:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class Model(builtins.object)
    Pretty dumb Gaussian model.
Attributes
----------
shape : tuple
    shape of the TPF. (row_shape, col_shape)
col_ref, row_ref : int, int
    column and row coordinates of the bottom
    left corner of the TPF
 
  Methods defined here:
__init__(self, shape, col_ref, row_ref)
Initialize self.  See help(type(self)) for accurate signature.

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class Moffat(Model)
    Pretty dumb Gaussian model.
Attributes
----------
shape : tuple
    shape of the TPF. (row_shape, col_shape)
col_ref, row_ref : int, int
    column and row coordinates of the bottom
    left corner of the TPF
 
 
Method resolution order:
Moffat
Model
builtins.object

Methods defined here:
__call__(self, *params)
Call self as a function.
evaluate(self, flux, xo, yo, a, b, c, beta)

Methods inherited from Model:
__init__(self, shape, col_ref, row_ref)
Initialize self.  See help(type(self)) for accurate signature.

Data descriptors inherited from Model:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)