Skip to content

cahofer/simple

Repository files navigation

simple

Simulation Pipeline for LOFAR EoR

This is a simulation pipeline written with nextflow for the Epoch of Reionization (EoR) Key Science project (KSP) of the Low Frequency Array (LOFAR).

The nextflow files are shared as plain text scripts along with any required config files, modules, and documentation.

Modular framework

The main modular simulation tasks are in simulate.nf. Helper function pipeline tasks are in foo.nf

Preprocessing nextflow files are stored in the sub-folder preprocessing.

You can build your own modular pipeline by using the nextflow scripts. Some examples for workflows can be seen in:

  • predict_pointsources.nf: To predict point sources
  • predict_noise.nf: To predict thermal noise
  • predict_gfg.nf: To predict diffuse emission from images

Simulate diffuse foregrounds

In order to simulate a Gaussian style foreground check out the python script: scripts/make_gfg.py

Conda environment

If you want to run the simulation pipeline with the Conda environment located in envs/myenv.yml, then run your workflow with the conda flag:

 nextflow run myworkflow.nf -with-conda 

Nextflow will automatically create and cache that environment the first time it runs.

About

Simulation Pipeline for LOFAR EoR

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors