LALInspiral
5.0.3.1-eeff03c
LALSuite
LAL
LALFrame
LALMetaIO
LALSimulation
LALBurst
LALInspiral
LALInference
LALPulsar
LALApps
LALPrintTimeseries.c
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2007 Bernd Machenschalk, Duncan Brown, Jolien Creighton
3
*
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2 of the License, or
7
* (at your option) any later version.
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with with program; see the file COPYING. If not, write to the
16
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
17
* MA 02110-1301 USA
18
*/
19
20
#include <stdio.h>
21
22
void
LALPrintTimeseries
(
int
n,
double
*signal,
double
delta,
double
t0) ;
23
void
LALPrintTimeseries
(
int
n,
double
*signal,
double
delta,
double
t0)
24
{
25
int
i
=0;
26
FILE *
outfile
;
27
outfile
=fopen(
"chirp.dat"
,
"w"
);
28
29
do
30
fprintf
(
outfile
,
"%e %e\n"
,
i
*
delta
+
t0
, *(signal+
i
));
31
32
while
(
n
-++
i
);
33
34
printf(
"&\n"
);
35
}
LALPrintTimeseries
void LALPrintTimeseries(int n, double *signal, double delta, double t0)
Definition:
LALPrintTimeseries.c:23
delta
static double double delta
fprintf
#define fprintf
i
double i
n
int n
t0
double t0
outfile
char * outfile
lib
LALPrintTimeseries.c
Generated on Mon Dec 15 2025 05:31:19 for LALInspiral by
1.9.4