TwiceAsNice  2019-02-18
Functions
licsGwsMockup.cc File Reference

Simulated (mockup) images in the SE planes generated by skymaker. More...

#include "config.h"
#include <cstdlib>
#include <time.h>
#include <string>
#include <vector>
#include <iostream>
#include <cstdio>
#include <LicsStarcat.h>
Include dependency graph for licsGwsMockup.cc:

Functions

void usage (char *argv0)
 emit a usage notice on stdout. More...
 
int main (int argc, char *argv[])
 Create a simulated image on the GWS focal plane. The program takes the star positions and brightnesses of the star catalog, computes their positions in one of the GWS focal planes (sx or dx), calls sky(1) to render this as an image with a 0.4 arcsecond pixel scale, and calls ds9(1) to show the image. The 1' and 3' radii of the limits of the annular mirror are shown as white circles, the star positions are indicated by black squares, and the usual ra/dec and SE (micron) positions are available under the cursor via two WCS coordinate systems. More...
 

Detailed Description

Simulated (mockup) images in the SE planes generated by skymaker.


Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Create a simulated image on the GWS focal plane. The program takes the star positions and brightnesses of the star catalog, computes their positions in one of the GWS focal planes (sx or dx), calls sky(1) to render this as an image with a 0.4 arcsecond pixel scale, and calls ds9(1) to show the image. The 1' and 3' radii of the limits of the annular mirror are shown as white circles, the star positions are indicated by black squares, and the usual ra/dec and SE (micron) positions are available under the cursor via two WCS coordinate systems.


For test purposes, the program also creates fake Pcam images, if a positive parameter after r (cone search radius in degrees, close to 0.029) is provided, and if the switch -o followed by a non-existing FITS file name is added.

Parameters
argcThe count of the command line arguments.
argvThe vector of blank-separated strings onthe command line. Usage: licsGwsMockup [-f limitmag] [-s {0|1}] [-g {gws|hws}] [-o outfile.fits] lbtocatfile licsGwsMockup [-f limitmag] [-s {0|1}] [-g {gws|hws}] -r NOMADconerad [-o outfile.fits] lbtocatfile
Since
2017-07-07

◆ usage()

void usage ( char *  argv0)

emit a usage notice on stdout.


Parameters
argv0The string which is the first compoment of argv, namely the command name
Since
2017-01-24