eclipse.image_generator
index
/astro-wise/AWEHOME/x86_64/AWBASE/astro/lib/python2.5/site-packages/eclipse/image_generator.py

 
Modules
       
eclipse.c_eclipse

 
Classes
       
image_generator

 
class image_generator
    Provides object capable of producing artificially generated data
with various properties. Generated sibngle-plane cubes only
 
  Methods defined here:
__init__(self, xsize, ysize)
Constructor
 
xsize -- the x dimension of the generated images
ysize -- the y dimension of the generated images
generate_lowpass(self, sigma_x, sigma_y)
generate_poly2d(self, c=0.0, c_x=0.0, c_y=0.0, c_xx=0.0, c_xy=0.0, c_yy=0.0)
Generate an image from a 2d polynomial
 
ima(x,y) = c+c_x*x+c_y*y+c_xx*x*x+c_xy*x*y+c_yy*y*y
generate_random_gauss(self, dispersion, mean)
Generate a cube with noise distributed normally around mean,
with rms dispersion
generate_random_lorentz(self, dispersion, mean)
Generate a cube with lorentzian distributed noise
generate_random_uniform(self, min_pix, max_pix)
Generate a cube with noise uniformly distributed
betwwen min_pix and max_pix