Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version:
- "3.10"
- "3.11"
group: [1, 2, 3]

steps:
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Introduction
------------

VIP is a python package for high-contrast imaging of exoplanets and circumstellar disks.
VIP is compatible with Python 3.8, 3.9, 3.10 and 3.11 (Python 2 compatibility dropped with VIP 0.9.9, and Python 3.7 compatibility dropped with VIP 1.4.3).
VIP is compatible with Python 3.10 and 3.11 (Python 2 compatibility dropped with VIP 0.9.9, and Python 3.7 compatibility dropped with VIP 1.4.3).

The goal of VIP is to integrate open-source, efficient, easy-to-use and
well-documented implementations of high-contrast image processing algorithms to
Expand Down
2 changes: 1 addition & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ What is VIP?
------------
``VIP`` stands for Vortex Image Processing.
It is a python package for high-contrast imaging of exoplanets and circumstellar disks.
VIP is compatible with Python 3.8, 3.9, 3.10 and 3.11 (Python 2 compatibility dropped with VIP 0.9.9, and Python 3.7 compatibility dropped with VIP 1.4.3).
VIP is compatible with Python 3.10 and 3.11 (Python 2 compatibility dropped with VIP 0.9.9, and Python 3.7 compatibility dropped with VIP 1.4.3).

The goal of VIP is to integrate open-source, efficient, easy-to-use and
well-documented implementations of high-contrast image processing algorithms to
Expand Down
11 changes: 8 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,13 @@ authors = [
{ name = "Carlos Alberto Gomez Gonzalez" },
{ name = "Valentin Christiaens", email = "valentin.christiaens@uliege.be" },
]
requires-python = ">=3.8"
requires-python = ">=3.10"
classifiers = [
"Intended Audience :: Science/Research",
"Natural Language :: English",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Astronomy",
Expand All @@ -31,3 +29,10 @@ urls.Homepage = "https://github.com/vortex-exoplanet/VIP"
[tool.setuptools]
zip-safe = false
packages.find = { namespaces = false }

[tool.pytest.ini_options]
filterwarnings = [
"error",
'ignore::ImportWarning',
'ignore:The fit may be unsuccessful:UserWarning', # noisy astropy warnings
]
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ myst-nb
myst-parser
pandoc
pytest
pytest-cov ~=2.6.0
pytest-cov >=2.6.0
pytest-split
flake8
flake8-bandit
Expand Down
2 changes: 0 additions & 2 deletions vip_hci/fm/negfc_mcmc.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@
from .negfc_fmerit import get_values_optimize, get_mu_and_sigma
from .utils_mcmc import gelman_rubin, autocorr_test
from .utils_negfc import find_nearest
import warnings
warnings.filterwarnings("ignore", category=DeprecationWarning)


def lnprior(param, bounds, force_rPA=False):
Expand Down
2 changes: 1 addition & 1 deletion vip_hci/fm/negfc_simplex.py
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@ def firstguess(cube, angs, psfn, planets_xy_coord, ncomp=1, fwhm=4,
verbose=False)
if force_rPA:
r_0[i_planet], theta_0[i_planet] = (r_pre, theta_pre)
f_0[i_planet] = res.x[:]
f_0[i_planet] = res.x.item()
else:
r_0[i_planet] = res.x[0]
theta_0[i_planet] = res.x[1]
Expand Down
2 changes: 0 additions & 2 deletions vip_hci/fm/utils_mcmc.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
'gelman_rubin_from_chain']

import numpy as np
import warnings
warnings.filterwarnings("ignore", category=DeprecationWarning)


def gelman_rubin(x):
Expand Down
Loading