Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (23 sloc) 1.078 kB
#ifndef _POLYCO_H
#define _POLYCO_H
#include <stdio.h>
#include <stdlib.h>
#include "polyco_struct.h"
int read_one_pc(FILE *f, struct polyco *pc);
int read_pc(FILE *f, struct polyco *pc, const char *psr, int mjd, double fmjd);
int read_all_pc(FILE *f, struct polyco **pc);
int select_pc(const struct polyco *pc, int npc, const char *psr,
int imjd, double fmjd);
double psr_phase(const struct polyco *pc, int mjd, double fmjd, double *freq,
long long *pulsenum);
double psr_fdot(const struct polyco *pc, int mjd, double fmjd, double *fdot);
double psr_phase_avg(const struct polyco *pc, int mjd,
double fmjd1, double fmjd2);
int pc_range_check(const struct polyco *pc, int mjd, double fmjd);
int pc_out_of_range(const struct polyco *pc, int mjd, double fmjd);
int pc_out_of_range_sloppy(const struct polyco *pc, int mjd, double fmjd, double slop);
int polycos_differ(const struct polyco *pc1, const struct polyco *pc2);
#include "psrfits.h"
int make_polycos(const char *parfile, struct hdrinfo *hdr, char *src,
struct polyco **pc);
#endif
Jump to Line
Something went wrong with that request. Please try again.