Closed dfm closed 5 years ago
@rodluger: I re-arranged the code a little so the limbdark bits now live in: exoplanet/theano_ops/lib/include/exoplanet/starry
. Brutal, I know.
I fixed the segfaulting so now we should be good to go when you get a chance to add more tests to this.
Now is probably also a good time to re-name the op to limbdark - I'm happy to do that!
@dfm Yes, can you rename it? I'm working on the tests today.
OK, as expected, the new implementation (orange) scales much better with limb darkening degree (top plot). The bottom plot is the time for the quadratic limb darkening evaluation as a function of number of points; this didn't change, since that case is already as optimized as it will ever get!
@dfm I fixed some special cases (no occultation, complete occultation) and added tests for known singular points in the light curve. Everything seems to be working fine, so I'm signing off on this!
From @rodluger on #46:
I removed the starry submodule and added the new limbdark headers directly to the include path. All current tests are passing, but I want to write some new ones. I also want to do a speed comparison -- it should be a bit faster for quadratic limb darkening, and a lot faster for higher order limb darkening.
Finally, I think we should change the name of the Op to LimbDarkOp or something like that.