Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
PyORBIT
version 10 by Luca Malavolta - October 2024I have extensively updated the documentation and several examples are now available in a new dedicated repository, check them out:
For nostalgic people, PyORBIT
8 and 9 are available as branches of the main repository: legacy_version8 and legacy_version9 respectively.
Version 10.8: Additional BIC/AIC/AICc information in output and in dictionaries when running pyorbit_results
. Information criteria computed through the ln-posterior (in addition to the ln-likelihood) have been dropped, as definitely wrong. This version is fully compatible with version 10.7, as the only changes are in the analysis of the results.
The exponential-sine periodic (ESP) kernel is a fast approximation of the quasi-periodic (QP) kernel, implemented in the S+LEAF
software by Delisle et al. 2020 and Delisle et al. 2022. The kernel has been implemented and tested in PyORBIT
, and it can be used as a faster replacement of tinyGP
.
Textual output is now also saved as dictionaries in the corresponding dictionaries folder.
updated TTV measurement and harmonic models (starting from version 10.6)
TTV measurement models have been all revised and improved to support a variety of cases.
in RML modelling, curve_fit
has been replaced with the lmfit
package from improved numerical stability
Improved speed After several failed attempts, I finally managed to apply the advice from the emcee parallelization page to the rather complex structure of PyORBIT. The speed-up is noticeable for large datasets (e.g., photometry).
Rossiter McLaughlin Rossiter McLaughlin effect can now be precisely modelled using the CCF simulation approach employed in Covino et al. 2013. When the rotation period is known - together with the stellar radius - the stellar inclination can be derived avoiding the bias reported by Masuda & Winn 2020. This model has been successfully employed in Mantovan et al. 2024b for the characterization of TOI-5398b.
Multidimensional Gaussian Process
The model was introduced a few years back, but now it can finally take advantage of improved parallelization.
Recent examples of multidimensional Gaussian Processes through PyORBIT
can be found in Nardiello et al. 2022 and Mantovan et al. 2024a.
tinyGP for better performances Working on both classic and multidimensional Gaussian Processes, although the former is showing some JAX problems when producing the output results.
Starting from version 10.3, `PyORBIT` has been upgraded to support `tinygp` (version 0.3.0), which in turns requires Python **3.10** to work properly.
If you are using `PyORBIT` \=> 10.3, follow the installation instructions to create an environment with Python 3.10
**No back-compatibility**
Version 10 is not compatible with the results obtained with version 9.
If you have been using the development version of V10, you may run into incompatibility issues as well.
Added celerite2 SHO term
Improved output: spaces
, bounds
, and priors
explicitely written out at runtime
Minor changes:
dataset_variables
and common_variables
changed to dataset_parameters
and common_parameters
variables
renamed to parameters
for internal
consistency. Backward compatibility ensured by new method in model_container_abstract
PyORBIT
will use the correct parametrization when a prior is assigned to a parameter and nested sampling is used (NS do not allow to assign priors to derived parameters).
Many new models are now available
batman
(Kreidberg 2015) or spiderman
(Louden et al. 2016).tinygp
More options for parameters space exploration: Linear
, Log_Natural
, Log_Base2
, Log_Base10
.
Some variables have been renamed, to improve clarity of results:
Definition | PyORBIT 8.x | PyORBIT 9.x |
---|---|---|
Mean Longitude | f | mean_long |
Scaled planetary radius | R | R_Rs |
Scaled semi-major axis | a | a_Rs |
Planetary mass in Earth masses | M | M_Me |
Stellar density | rho | density |
Also, batman_ld_quadratic
and pytransit_ld_quadratic
have been merged into ld_quadratic
.
Note: the Mean Longitude is defined assuming the longitude of the ascending node $\Omega$ equal to zero, thus corresponding to the angle defined in section 4.3 of (Ford 2006) and simply called phase in Malavolta et al. (2016)
Overall reorganization of the code
Warning Loss of backward-compatibility
You cannot analyzes results obtain with previous versions (< 9) of PyORBIT. No worries, the old version is still available in the legacy
branch, you can download it from the Github page or switch to it through the terminal:
git checkout legacy
To switch back to the current version, just execute:
git checkout main
Working on it
starry
(Luger et al. 2019)Samplers
Bayesian evidence estimation can now be performed with:
dynesty
by Josh Speagle dynesty documentation, code repositoryUltraNest
by Johannes Buchner UltraNest documentation, code repositoryJust substitute "emcee" with "dynesty" or "ultranest" to when running the code. Warning MCMC and Nested Sampling handle prior in a radically different way, as such it is not possible to directly translate some priors from one sampler to another
Documentation Some incomplete documentation is available here. For any doubt, feel free to open an issue on GitHub - emails tend to be rather ineffective lately - I'll be happy to work out together any problem that may arise during installation or usage of this software.
PyORBIT
handles several kinds of datasets, such as radial velocity (RV), activity indexes, and photometry, to simultaneously characterize the orbital parameters of exoplanets and the noise induced by the activity of the host star. RV computation is performed using either non-interacting Kepler orbits or n-body integration. Stellar activity can be modeled either with sinusoids at the rotational period and its harmonics or Gaussian process. Offsets and systematics in measurements from several instruments can be modeled as well. Thanks to the modular approach, new methods for stellar activity modeling or parameter estimation can be easily incorporated into the code.
Models Any of these models can be applied to a dataset. The user can choose which models should be used for each dataset.
Gaussian Processes
for RV or photometry (shared or independent hyperparameter)Polynomial trends
with user-defined orderCorrelation
with activity indexes (or any other dataset)Sinusoids
(independent or shared amplitudes and periods)Harmonics
to test old results in the literaturePriors These priors can be applied to any of the parameters (it's up to the user to choice the appropriate ones):
Uniform
default prior for all the parametersGaussian
Jeffreys
Modified Jeffreys
Truncated Rayleigh
WhiteNoisePrior
BetaDistribution
Jeffreys
and Modified Jeffreys
priors are actually Truncated Jeffreys
and Truncated Modified Jeffreys
, with truncation defined by the boundaries of the parameter space.
Parameter exploration
The user can choose between Linear
and Logarithmic
. Note that in the second case the parameter space is transformed into base-2 logarithm.
Most of the information can be found in Malavolta et al. (2016) and Malavolta et al. (2018).
Papers using PyORBIT
And many more I may have missed!
FAQs
PyORBIT: a code for exoplanet orbital parameters and stellar activity
We found that pyorbit-package demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.