Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jktebop backend: exposure time support #728

Closed
wants to merge 6 commits into from

Conversation

kecnry
Copy link
Member

@kecnry kecnry commented Apr 19, 2023

This implements support for exposure times via fti_oversample in the jktebop alternate backend (and supersedes #702 by @jsinkbaek).

Closes #700
Closes #702

@kecnry kecnry changed the base branch from master to bugfix-2.4.11 April 19, 2023 13:28
jsinkbaek and others added 2 commits May 20, 2023 22:03
* Fixed two bugs with JKTEBOP backend RVs.

1. To calculate RV semi-amplitude (K), system semi-major-axis was used previously instead of component sma (sma vs. center of mass). Before, any change in the mass ratio had no effect on the modelled rvs.

2. Small left-over discrepancy corrected, as RV amplitude K did not take eccentricity into account. Now includes term 1/(sqrt(1-ecc^2)).

* added jktebop nosetest

---------

Co-authored-by: Michael Abdul-Masih <[email protected]>
* fix minor syntax warning
* update gitignore to avoid build files
kecnry and others added 3 commits May 21, 2023 10:19
…ameters fti_method, fti_oversample, and exptime.

The implementation uses twigs since b.get_value() would fail in odd ways:
  - Either fails because returns a parameter set with both PHOEBE and JKTEBOP parameters
  - Or fails because jktebop parameters are not found if "compute" or "kind" is specified

For some reason, when compute is instead specified using twigs, it works without any issue.

Uses a try except statement to check if fti_oversample and exptime exists, instead of an if statement. Should probably be improved.

Checked that in this implementation, fti_oversample accurately does not exist for RV curves, meaning it is done on a dataset-by-dataset basis.
* set fti_method='jktebop' to use jktebop's oversampling, or 'oversample' to use phoebe's.
@kecnry kecnry deleted the branch phoebe-project:bugfix-2.4.12 June 16, 2023 15:37
@kecnry kecnry closed this Jun 16, 2023
@kecnry kecnry reopened this Jun 16, 2023
@kecnry kecnry changed the base branch from bugfix-2.4.11 to bugfix-2.4.12 June 16, 2023 15:39
@kecnry kecnry deleted the branch phoebe-project:bugfix-2.4.12 November 30, 2023 20:21
@kecnry kecnry closed this Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

jktebop wrapper support for exposure times
2 participants