This repository has been archived on 2025-04-15. You can view files and clone it, but cannot push or open issues or pull requests.
python_cluster_reader/src/cluster_reader.h

23 lines
403 B
C

#ifndef CLUSTER_READER_H
#define CLUSTER_READER_H
#include <stdint.h>
#include <cstdio>
#define MAXPH 100000000
struct cluster {
int16_t x;
int16_t y;
//data[iy * 3 + ix ]
int32_t data[9];
} ;
void cpp_read_clusters(struct cluster *clust, int &iiph, int &nframes, int &ok, int maxph=MAXPH);
void cpp_open_cluster_file(char *fname, int &ok);
void cpp_close_cluster_file(int &ok);
#endif