-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpnicorr_io.h
More file actions
28 lines (23 loc) · 799 Bytes
/
Copy pathpnicorr_io.h
File metadata and controls
28 lines (23 loc) · 799 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//
// pnicorr_io.h
// pnicorr
//
// Created by Benjamin Singer on 10/15/14.
// Copyright (c) 2014 Benjamin Singer. All rights reserved.
//
#ifndef __h__pnicorr_io__
#define __h__pnicorr_io__
#define MAX_LINE 4194304L
typedef enum {
pnicorr_iotype_1D,
pnicorr_iotype_1Dgz,
pnicorr_iotype_mat,
pnicorr_iotype_numiotypes
} pnicorr_iotype_t;
float *pnicorr_load_1D(const char *filename, int *nts, int *ntrs);
void pnicorr_genoutfile(const char *filename, const int num_timeseries,
const char *ext, const char *comp, char *outfile);
void pnicorr_savematrix(const float *result, const int M, const int N,
const char *mode, const pnicorr_iotype_t iotype,
const char *outfile);
#endif /* defined(__h__pnicorr_io__) */