Commit bbd56b7e authored by Gregory Ashton's avatar Gregory Ashton
Browse files

Fixes error in DeltaOmega (solid angle) caluclatoin

parent 22b46344
......@@ -2173,7 +2173,7 @@ class MCMCFollowUpSearch(MCMCSemiCoherentSearch):
DeltaAlpha = self.get_width_from_prior(self.theta_prior, 'Alpha')
DeltaDelta = self.get_width_from_prior(self.theta_prior, 'Delta')
DeltaMid = self.get_mid_from_prior(self.theta_prior, 'Delta')
DeltaOmega = np.sin(DeltaMid) * DeltaDelta * DeltaAlpha
DeltaOmega = np.sin(np.pi/2 - DeltaMid) * DeltaDelta * DeltaAlpha
logging.info('Search over Alpha and Delta')
else:
logging.info('No sky search requested')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment