Skip to content

DavidFMoore/PolSim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PolSim

This module generates power spectra as in my paper.

Use It!

Each file in src contains a class described by that filename:

  • Distributions.Dist handles choosing source parameters
  • SimVis.SimVis handles simulating a visibility.
  • Pspec.SimVis allows you to generate a power spectrum from a simulated visibility.

Observation parameters (frequencies, etc) are passed as arguments to SimVis. Beam can either be generated from an Aipy AntennaArray object or from a series of healpix alm object (not currently implemented).

Source parameters are specified in a .cf file.

Examples!!!

  • Examples of how to use each object is in scripts/SamplePSpec.py.
  • An example .cf file can be found in config_files/6C.cf These are the parameters I used in my paper.

About

Modularized code for my simulation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%