Skip to content

oguyon/PIAACMCdesign

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PIAACMC type coronagraph design tool

Downloading source code

Latest distribution is on github. You can clone the repository, or download the latest .tar.gz distribution.

Compilation

The source code follows the standard GNU build process. On linux:

./configure
make
make install

On OS X you need to use gcc-mp-5 for opemMP.

autoconf configure.ac.macosx > configure; chmod +x configure
./configure "CC=/opt/local/bin/gcc-mp-5" CPPFLAGS="-I/usr/include/malloc/ -I/opt/local/include/readline" LDFLAGS="-L/opt/local/lib/"

(Replace "/opt/local/" is the location of your installed libraries. ) make make install

Documentation, Getting Started

Please consult the documentation :

src/PIAACMCsimul/doc/PIAACMCsimul.html

Libraries

The following libraries are used:

  • readline, for reading the command line input
  • flex, for parsing the command line input
  • bison, to interpret the command line input
  • fftw, for performing Fourier Transforms
  • gsl, for math functions and tools
  • fitsio, for reading and writing FITS image files

If you use NVIDIA GPUs, install cuda and magma libraries, and add "--enable-cuda and --enable-magma" options to the configure command.

Source Code Architecture

Written in C. The main is a command line interface (CLI). Source code is in CLIcore.c and CLIcore.h. Key data structures (such as the image data structure) are declared in CLIcore.h.

About

designing PIAACMC type coronagraph

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published