CCFCenter
This script is used to find the center an meaure the width of a CCF peak.
Namespaces | Functions | Variables
ccfcenter.py File Reference

Go to the source code of this file.

Namespaces

namespace  ccfcenter
 

This module finds the center and width of a MARVELS ccf.


Functions

def ccfcenter::cutccf
 Choose which section of the ccf to fit based on width parameter or automatically using percent.
def ccfcenter::gaussfunc
 Takes x points and returns a Gaussian function.
def ccfcenter::gausstest
 Creates a Gaussian signal and then fits it to see if I can recover the input parameters.
def ccfcenter::fitgauss
 Use a Levenberg-Marquadt non-linear least-squares fitter to fit a Gaussian to Xin and Yin.
def ccfcenter::make_gauss
 Generate Gaussian data using Gaussian.
def ccfcenter::ccfcenter
 This function is the main() program for this module.

Variables

list ccfcenter::filename = sys.argv[1]
 ccfcenter::width = None
tuple ccfcenter::ret = ccfcenter(filename,width)
 All Namespaces Files Functions Variables