TwiceAsNice  2019-02-18
Functions
galaxies.c File Reference
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "define.h"
#include "globals.h"
#include "fft.h"
#include "galaxies.h"
#include "image.h"
#include "list.h"
#include "prefs.h"
#include "psf.h"
#include "simul.h"
Include dependency graph for galaxies.c:

Functions

static double gamm (double xx)
 
void make_galaxy (simstruct *sim, objstruct *obj)
 
double make_sersic (PIXTYPE *pix, int width, int height, double reff, double aspect, double posang, double n)
 
PIXTYPE trunc_prof (PIXTYPE *pix, double xcenter, double ycenter, int width, int height)
 

Function Documentation

◆ gamm()

static double gamm ( double  xx)
static

◆ make_galaxy()

void make_galaxy ( simstruct sim,
objstruct obj 
)

◆ make_sersic()

double make_sersic ( PIXTYPE pix,
int  width,
int  height,
double  reff,
double  aspect,
double  posang,
double  n 
)

◆ trunc_prof()

PIXTYPE trunc_prof ( PIXTYPE pix,
double  xcenter,
double  ycenter,
int  width,
int  height 
)