hpparvi / PyTransit

Fast and easy exoplanet transit light curve modelling.
GNU General Public License v2.0
99 stars 23 forks source link

Update astropy requirement from ~=4.0.1.post1 to ~=4.2 #65

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 3 years ago

Updates the requirements on astropy to permit the latest version.

Changelog

Sourced from astropy's changelog.

4.2 (2020-11-24)

New Features

astropy.convolution

  • Methods convolve and convolve_fft both now return Quantity arrays if user input is given in one. [#10822]

astropy.coordinates

  • Numpy functions that broadcast, change shape, or index (like np.broadcast_to, np.rot90, or np.roll) now work on coordinates, frames, and representations. [#10337]
  • Add a new science state astropy.coordinates.erfa_astrom.erfa_astrom and two classes ErfaAstrom, ErfaAstromInterpolator as wrappers to the pyerfa astrometric functions used in the coordinate transforms. Using ErfaAstromInterpolator, which interpolates astrometric properties for SkyCoord instances with arrays of obstime, can dramatically speed up coordinate transformations while keeping microarcsecond resolution. Depending on needed precision and the obstime array in question, speed ups reach factors of 10x to >100x. [#10647]
  • galactocentric_frame_defaults can now also be used as a registry, with user-defined parameter values and metadata. [#10624]
  • Method .realize_frame from coordinate frames now accepts **kwargs, including representation_type. [#10727]
  • Avoid an unnecessary call to erfa.epv00 in transformations between CIRS and ICRS, improving performance by 50 %. [#10814]
  • A new equatorial coordinate frame, with RA and Dec measured w.r.t to the True Equator and Equinox (TETE). This frame is commonly known as "apparent place" and is the correct frame for coordinates returned from JPL Horizons. [#10867]
  • Added a context manager impose_finite_difference_dt to the TransformGraph class to override the finite-difference time step attribute (finite_difference_dt) for all transformations in the graph with that attribute. [#10341]
  • Improve performance of SpectralCoord by refactoring internal implementation. [#10398]

astropy.cosmology

  • The final version of the Planck 2018 cosmological parameters are included as the Planck18 object, which is now the default cosmology. The parameters are identical to those of the Planck18_arXiv_v2 object, which is now deprecated and will be removed in a future release. [#10915]

astropy.modeling

  • Added NFW profile and tests to modeling package [#10505]
  • Added missing logic for evaluate to compound models [#10002]
  • Stop iteration in FittingWithOutlierRemoval before reaching niter if the masked points are no longer changing. [#10642]
  • Keep a (shallow) copy of fit_info from the last iteration of the wrapped fitter in FittingWithOutlierRemoval and also record the actual number of iterations performed in it. [#10642]
  • Added attributes for fitting uncertainties (covariance matrix, standard deviations) to models. Parameter covariance matrix can be accessed via model.cov_matrix, standard deviations by model.stds or individually for each parameter by parameter.std. Currently implemented for LinearLSQFitter and LevMarLSQFitter. [#10552]
  • N-dimensional least-squares statistic and specific 1,2,3-D methods [#10670]

astropy.stats

  • Added circstd function to obtain a circular standard deviation. [#10690]

astropy.table

  • Allow initializing a Table using a list of names in conjunction with a dtype from a numpy structured array. The list of names overrides the names specified in the dtype. [#10419]

astropy.time

  • Add new isclose() method to Time and TimeDelta classes to allow comparison of time objects to within a specified tolerance. [#10646]
  • Improve initialization time by a factor of four when creating a scalar Time object in a format like unix or cxcsec (time delta from a reference epoch time). [#10406]
  • Improve initialization time by a factor of ~25 or more for large arrays of string times in ISO, ISOT or year day-of-year formats. This is done with a new C-based time parser that can be adapted for other fixed-format custom time formats. [#10360]
  • Numpy functions that broadcast, change shape, or index (like np.broadcast_to, np.rot90, or np.roll) now work on times. [#10337, #10502]

astropy.timeseries

Commits


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
dependabot-preview[bot] commented 3 years ago

Looks like astropy is up-to-date now, so this is no longer needed.