view YLCStuff.c @ 10:239f2fe67cc0

Fix slope cancelling following Hg cavity What we really want to do is to keep constant the frequency of the beat note between comb and 1062 nm light from the Hg cavity, acting on the repetition rate by stearing the frequency of the 1542 nm light from the local cavity to which we lock the comb.
author Daniele Nicolodi <daniele.nicolodi@obspm.fr>
date Wed, 04 Jul 2012 14:39:50 +0200
parents d9aae7d7f2c6
children
line wrap: on
line source

//==============================================================================
//
// Title:       YLCStuff.c
// Purpose:     Various stuff used by femtosoftYLC, like math parser callbacks
//				and personnal types
//
// Created on:  19/08/2008 at 10:06:43 by Yann Le Coq.
// Copyright:   syrte. All Rights Reserved.
//
//==============================================================================

//==============================================================================
// Include files

//#include "YLCStuff.h"

//==============================================================================
// Constants

//==============================================================================
// Types

//==============================================================================
// Static global variables

//==============================================================================
// Static functions

//==============================================================================
// Global variables

//==============================================================================
// Global functions

/// HIFN  What does your function do?
/// HIPAR x/What inputs does your function expect?
/// HIRET What does your function return?
double Peta (double x) {
	return 1.0e15*x ;
};

double Tera (double x) {
	return 1.0e12*x ;	
};

double Giga (double x) {
	return 1.0e9*x ;	
};

double Mega (double x) {
	return 1.0e6*x ;	
};

double kilo (double x) {
	return 1.0e3*x ;
};

double milli(double x) {
	return 1.0e-3*x ;
};
	
double micro(double x){
	return 1.0e-6*x ;
};

double nano (double x){
	return 1.0e-9*x ;
};

double pico (double x){
	return 1.e-12*x ;
};

double femto(double x){
	return 1.0e-15*x ;
};