TwiceAsNice
2019-02-18
|
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>
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... | |
Simulated (mockup) images in the SE planes generated by skymaker.
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.
argc | The count of the command line arguments. |
argv | The 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 |
void usage | ( | char * | argv0 | ) |
emit a usage notice on stdout.
argv0 | The string which is the first compoment of argv, namely the command name |