#include <Correlator.h>
Public Member Functions | |
Correlator (int nphi, double phimin, double phimax, int ntheta, double theta_lowest, double theta_highest, bool use_bin_center=false, bool scale_by_cos_theta=false, double baseline_weight=0, double gain_sigma=0) | |
void | compute (const FilteredAnitaEvent *event, AnitaPol::AnitaPol_t pol) |
const TH2D * | getHist () const |
const TH2D * | getNorm () const |
TH2D * | computeZoomed (double phi, double theta, int nphi, double dphi, int ntheta, double dtheta, int nant=0, TH2D *useme=0) |
void | setDisallowedAntennas (ULong64_t disallowed) |
void | setAllowedAntennas (ULong64_t allowed) |
void | setMaxAntennaMaxPhiDistance (double max_ant_phi) |
void | setGroupDelayFlag (bool flag) |
const AnalysisWaveform * | getCorrelationGraph (int ant1, int ant2) |
void | setPadFactor (int pad) |
void | dumpDeltaTs (const char *file) const |
This creates the inteferometric map for an ANITA event
Definition at line 22 of file Correlator.h.
UCorrelator::Correlator::Correlator | ( | int | nphi, |
double | phimin, | ||
double | phimax, | ||
int | ntheta, | ||
double | theta_lowest, | ||
double | theta_highest, | ||
bool | use_bin_center = false , |
||
bool | scale_by_cos_theta = false , |
||
double | baseline_weight = 0 , |
||
double | gain_sigma = 0 |
||
) |
Create a correlator with the following options for the rough map
Definition at line 131 of file Correlator.cc.
void UCorrelator::Correlator::compute | ( | const FilteredAnitaEvent * | event, |
AnitaPol::AnitaPol_t | pol | ||
) |
Compute the rough correlation map for the event and pol
Definition at line 660 of file Correlator.cc.
TH2D * UCorrelator::Correlator::computeZoomed | ( | double | phi, |
double | theta, | ||
int | nphi, | ||
double | dphi, | ||
int | ntheta, | ||
double | dtheta, | ||
int | nant = 0 , |
||
TH2D * | useme = 0 |
||
) |
Compute a zoomed in map around phi and theta. nphi,dphi,ntheta,dtheta. If nant is non-zero, only the nearest nant antennas are used. You can use useme to avoid allocating a new TH2.
Definition at line 341 of file Correlator.cc.
void UCorrelator::Correlator::dumpDeltaTs | ( | const char * | file | ) | const |
Debugging method to dump out some info to a file
Definition at line 784 of file Correlator.cc.
|
inline |
Get the correlation between two antennas
Definition at line 55 of file Correlator.h.
|
inline |
Get the rough correlation map
Definition at line 32 of file Correlator.h.
|
inline |
Get the rough correlation map normalization
Definition at line 35 of file Correlator.h.
|
inline |
Enable only the antennas given by the bitmap
Definition at line 45 of file Correlator.h.
|
inline |
Disable the antennas given by the bitmap
Definition at line 42 of file Correlator.h.
|
inline |
Use the group delay in computing the delay
Definition at line 51 of file Correlator.h.
|
inline |
An antenna only contributes to an angle if it's within max_phi of it
Definition at line 48 of file Correlator.h.
|
inline |
Set the supersampling factor
Definition at line 58 of file Correlator.h.