#ifndef lint
static char SccsDefId[] = "%W%  %G%";
#endif

/* Module:	ColorMap.def
 * Purpose:	Define some internal color tables
 * Copyright:	Property of Smithsonian Astrophysical Observatory
 *		1989 You may do anything you like with this file except
 *		remove this copyright.
 * Modified:	{0} Michael VanHilst	initial version		  16 May 1989
 *		{n} <who> -- <does what> -- <when>
 */

static ColorTable gray_map = {
  { 2, 0, 1.0, { 0.0, 1.0 }, { 0.0, 1.0 } },
  { 2, 0, 1.0, { 0.0, 1.0 }, { 0.0, 1.0 } },
  { 2, 0, 1.0, { 0.0, 1.0 }, { 0.0, 1.0 } }
};

/* (black-body from Ken Clark @ Institute of Biomedical Computing
    Washington University in St. Louis) */
static ColorTable bbs_map = {
  { 3, 0, 1.0, { 0.0, 0.5, 1.0 }, { 0.0, 1.0, 1.0 } },	/* Red */
  { 4, 0, 1.0, { 0.0, 0.25, 0.75, 1.0 },		/* Green */
	       { 0.0, 0.0, 1.0, 1.0 } },
  { 3, 0, 1.0, { 0.0, 0.5, 1.0 }, { 0.0, 0.0, 1.0 } }	/* Blue */
};

static ColorTable hip_map = {
  { 5, 0, 1.0, { 0.0, 0.015, 0.25, 0.50, 1.0 },
	       { 0.0, 0.500, 0.50, 0.75, 1.0 } },
  { 6, 0, 1.0, { 0.0, 0.065, 0.125, 0.25, 0.50, 1.0 },
	       { 0.0, 0.000, 0.500, 0.75, 0.81, 1.0 } },
  { 6, 0, 1.0, { 0.0, 0.015, 0.030, 0.065, 0.25, 1.0 },
	       { 0.0, 0.125, 0.375, 0.625, 0.25, 1.0 } }
};

static ColorTable imp8_map = {
  {  6, 0, 1.0, { 0.0000, 0.1250, 0.125, 0.5, 0.5, 1.0 },
		{ 0.0875, 0.0875, 0.000, 0.0, 1.0, 1.0 } },
  { 16, 0, 1.0, { 0.0000, 0.1250, 0.125, 0.25, 0.25, 0.375, 0.375, 0.5,
    0.5, 0.625, 0.625, 0.75, 0.75, 0.875, 0.875, 1.0 },
		{ 0.0875, 0.0875, 1.000, 1.00, 0.00, 0.000, 1.000, 1.0,
    0.0, 0.000, 1.000, 1.00, 0.00, 0.000, 1.000, 1.0 } },
  { 10, 0, 1.0,
   { 0.0000, 0.1250, 0.125, 0.25, 0.25, 0.5, 0.5, 0.75, 0.75, 1.0 },
   { 0.0875, 0.0875, 0.000, 0.00, 1.00, 1.0, 0.0, 0.00, 1.00, 1.0 } }
};

static ColorTable a_map = {
  { 4, 0, 1.0, { 0.0, 0.25, 0.5, 1.0 },
	       { 0.0, 0.00, 1.0, 1.0 } },
  { 5, 0, 1.0, { 0.0, 0.25, 0.5, 0.77, 1.0 },
	       { 0.0, 1.00, 0.0, 0.00, 1.0 } },
  { 6, 0, 1.0, { 0.0, 0.125, 0.5, 0.64, 0.77, 1.0 },
	       { 0.0, 0.000, 1.0, 0.50, 0.00, 0.0 } }
};


/* intensity progressing rainbow */
static ColorTable b_map = {
  { 4, 0, 1.0, { 0.0, 0.25, 0.5, 1.0 },
	       { 0.0, 0.0, 1.0, 1.0 } },
  { 4, 0, 1.0, { 0.0, 0.5, 0.75, 1.0 },
	       { 0.0, 0.0, 1.0, 1.0 } },
  { 5, 0, 1.0, { 0.0, 0.25, 0.5, 0.75, 1.0 },
	       { 0.0, 1.0, 0.0, 0.0, 1.0 } }
};

#ifdef FOO
static ColorTable oldb_map = {
  { 4, 0, 1.0, { 0.0, 0.375, 0.5, 1.0 },
	       { 0.0, 0.000, 1.0, 1.0 } },
  { 7, 0, 1.0, { 0.0, 0.01, 0.125, 0.25, 0.375, 0.875, 1.0 },
	       { 0.0, 0.00, 1.000, 1.00, 0.000, 1.000, 1.0 } },
  { 6, 0, 1.0, { 0.0, 0.125, 0.25, 0.55, 0.875, 1.0 },
	       { 0.0, 0.000, 1.00, 1.00, 0.000, 1.0 } }
};

static ColorTable c_map = {
  { 7, 0, 1.0, { 0.0, 0.25, 0.375, 0.50, 0.625, 0.875, 1.00 },
	       { 0.0, 0.00, 0.500, 0.75, 1.000, 0.500, 0.75 } },
  { 5, 0, 1.0, { 0.0, 0.005, 0.25, 0.5, 1.0 },
	       { 0.0, 0.000, 1.00, 0.0, 0.0 } },
  { 7, 0, 1.0, { 0.0, 0.25, 0.375, 0.50, 0.625, 0.875, 1.0 },
	       { 0.0, 0.00, 0.500, 0.75, 1.000, 0.500, 0.0 } }
};

static ColorTable d_map = {
  { 6, 0, 1.0, { 0.0, 0.25, 0.375, 0.50, 0.675, 1.0 },
	       { 0.0, 0.00, 0.500, 0.76, 1.000, 1.0 } },
  { 7, 0, 1.0, { 0.0, 0.005, 0.25, 0.5, 0.625, 0.875, 1.0 },
	       { 0.0, 0.000, 1.00, 0.0, 0.168, 0.500, 1.0 } },
  { 8, 0, 1.0, { 0.0, 0.005, 0.250, 0.375, 0.500, 0.625, 0.875, 1.0 },
	       { 0.0, 0.000, 0.125, 0.250, 0.625, 1.000, 0.500, 1.0 } }
};
#endif
