vortex-exoplanet / VIP

VIP is a python package/library for angular, reference star and spectral differential imaging for exoplanet/disk detection through high-contrast imaging.
http://vip.readthedocs.io/
MIT License
70 stars 57 forks source link

phot/snr.py #354

Closed KristinaDavis closed 5 years ago

KristinaDavis commented 5 years ago

import statement needs to import get_annulus_segments instead of old get_annulus

carlos-gg commented 5 years ago

I would suggest to install from master instead of using the version from pypi (a bit outdated). You could run: pip install git+https://github.com/vortex-exoplanet/VIP.git.

KristinaDavis commented 5 years ago

Hello Carlos,

I have the vip-hci package installed in a conda environment. At first, I ddid a pip-install of vip-hci using pypi, as you correctly assumed. When I try and install the new package directly from git, I get the following error: Building wheels for collected packages: vip-hci Running setup.py bdist_wheel for vip-hci ... done Stored in directory: /tmp/pip-ephem-wheel-cache-7jqopiq1/wheels/8f/14/88/95225840c2146aaf815de70113580db62accc2753c78d86a6a Successfully built vip-hci Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: '/home/captainkay/Programs/anaconda3/envs/test_medis/lib/python3.6/site-packages/photutils-0.6.dist-info/METADATA'

I was wondering if you think this is a conda-related issue or something related to the previous install? Apparently removing a pip-installed package from a conda environment is more difficult than I had anticipated.

Any info would be appreciated, but I'll keep working on the issue in the meantime.

Thanks, Kristina

On Thu, Jan 31, 2019 at 1:55 AM Carlos Alberto Gomez Gonzalez < notifications@github.com> wrote:

I would suggest to install from master instead of using the version from pypi (a bit outdated). You could run: pip install git+ https://github.com/vortex-exoplanet/VIP.git.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vortex-exoplanet/VIP/issues/354#issuecomment-459284274, or mute the thread https://github.com/notifications/unsubscribe-auth/AIfntSkaa0JUtLTyJd7wqe14ejJJzz_Nks5vIr2QgaJpZM4abU53 .

-- Kristina K. Davis, PhD. Astronomy & Astrophysics Postdoctoral Fellow National Science Foundation University of California, Santa Barbara k_davis@physics.ucsb.edu kristinadavis.weebly.com

carlos-gg commented 5 years ago

Hi Kristina, sorry for the delay in answering (traveling!). Did you manage to solve the problem? It seems to be related to your photutils installation. Did you try to remove photutils before installing VIP?