#ifndef _Intensity_h_
#define _Intensity_h_
/* Intensity.h; Paul Boersma, June 4, 2002 */

/*
	class Intensity = Vector;

	x = time (seconds)
	nx = number of frames
	dx = distance between frames (seconds)
	x1 = centre of first frame (seconds)
	z = intensity (dB relative to 2e-5 N/m2 or 1e-12 W/m2)
*/

#ifndef _Vector_h_
	#include "Vector.h"
#endif

#define Intensity_members Vector_members
#define Intensity_methods Vector_methods
class_create (Intensity, Vector)

Intensity Intensity_create (double tmin, double tmax, long nt, double dt, double t1);

int Intensity_init (Intensity me, double tmin, double tmax, long nt, double dt, double t1);

Matrix Intensity_to_Matrix (Intensity me);

Intensity Matrix_to_Intensity (Matrix me);

void Intensity_drawInside (Intensity me, Graphics g, double tmin, double tmax,
	double minimum, double maximum);

void Intensity_draw (Intensity me, Graphics g, double tmin, double tmax,
	double minimum, double maximum, int garnish);

/* End of file Intensity.h */
#endif
