Data model: plPlugMapR

General description: Each plPlugMapR file is a Yanny format copy of the info from the plateHoles file for one pointing (e.g., A, B) of a plate, augmented by the info which traces an object from its hole number to its final detected location on the MARVELS CCD.

Naming convention:
plPlugMapR-PPPPP-XXXXX-01.par or results_tio.fits, where PPPPP is the name of the plate and pointing (either a four-digit plate number followed by the pointing letter, or a calibration plate ID like TIO, SUN, or OTHER, followed by a pointing letter), and XXXXXis the MJD from which point onwards the design is valid.

Approximate size: 100 Kbytes.

File type: Yanny

Read by products: MARVELS_REDUCE_PIPELINE/aggregatewhirls.pro

Written by products: MARVELS_REDUCE_PIPELINE/plateholes_to_plplugmapr.pro

Required header keywords: as in plateDesign file

Required column names for PLATEPLANS named structure:

typedef struct {
char holetype[10];          # as in plateDesign file
char targettype[8];         # as in plateDesign file
char sourcetype[5];         # as in plateDesign file
double target_ra;           # as in plateDesign file
double target_dec;          # as in plateDesign file
int iplateinput;            # as in plateDesign file
int pointing;               # as in plateDesign file
int offset;                 # as in plateDesign file
int fiberid;                # as in plateDesign file
int block;                  # as in plateDesign file
int iguide;                 # as in plateDesign file
float xf_default;           # as in plateDesign file
float yf_default;           # as in plateDesign file
float diameter;             # as in plateDesign file
float buffer;               # as in plateDesign file
int priority;               # as in plateDesign file
int assigned;               # as in plateDesign file
int conflicted;             # as in plateDesign file
int ranout;                 # as in plateDesign file
int outside;                # as in plateDesign file
float tmass_j;              # as in plateDesign file
float tmass_h;              # as in plateDesign file
float tmass_k;              # as in plateDesign file
float gsc_vmag;             # V magnitude from GSC 2.3 (often just the TYCHO V)
float tyc_bmag;             # TYCHO B magnitude where available, otherwise -9999
float tyc_vmag;             # TYCHO V magnitude where available, otherwise -9999
float mfd_mag[6];           # as in plateDesign file
char sp_param_source[49];   # as in plateDesign file
float sp_params[4];         # as in plateDesign file
float sp_param_err[4];      # as in plateDesign file
int marvels_target1;        # as in plateDesign file
int marvels_target2;        # as in plateDesign file
int boss_target1;           # as in plateDesign file
int boss_target2;           # as in plateDesign file
int segue2_target1;         # as in plateDesign file
int segue2_target2;         # as in plateDesign file
int segueb_target1;         # as in plateDesign file
int segueb_target2;         # as in plateDesign file
int apogee_target1;         # as in plateDesign file
int apogee_target2;         # as in plateDesign file
int run;                    # as in plateDesign file
char rerun[6];              # as in plateDesign file
int camcol;                 # as in plateDesign file
int field;                  # as in plateDesign file
int id;                     # as in plateDesign file
float psfflux[5];           # as in plateDesign file
float psfflux_ivar[5];      # as in plateDesign file
float fiberflux[5];         # as in plateDesign file
float fiberflux_ivar[5];    # as in plateDesign file
float psfmag[5];            # as in plateDesign file
float fibermag[5];          # as in plateDesign file
char targetids[69];         # as in plateDesign file
double xfocal;              # as in plateHoles file
double yfocal;              # as in plateHoles file
int detectorid;             # Spectrograph ID of this fibre (note two detector spectra per fibre, so 60 fibres output to 120 spectrograph IDs)
char shorttargetids[23];    # First ID string from the targetids field, with _BEAM1 appended for the first of the two spectra of this fibre on the detector, _BEAM2 for the second spectrum
} PLUGMAPR;

Example file: platePlans.par (an early version of this file)