strf/rfio.h

13 lines
374 B
C

struct spectrogram {
int nsub,nchan;
double *mjd;
double freq,samp_rate;
float *length;
float *z,*zavg,*zstd;
float zmin,zmax;
char nfd0[32];
};
struct spectrogram read_spectrogram(char *prefix,int isub,int nsub,double f0,double df0,int nbin,double foff);
void write_spectrogram(struct spectrogram s,char *prefix);
void free_spectrogram(struct spectrogram s);