hippke / Pandora

A fast transit-fitting algorithm to search for transits of exomoons
GNU General Public License v3.0
20 stars 4 forks source link

Implement supersampling #6

Closed hippke closed 2 years ago

hippke commented 2 years ago

Parameter N=R with 1= no supersampling, 5 = some supersampling etc.

a = np.array([1.,2,6,2,1,7])
R = 3
a.reshape(-1, R).mean(axis=1)
hippke commented 2 years ago

Implemented and tested supersampling_factor = 1 is default Figure is in paper Effect is very small Speed penalty is linear with supersampling_factor