Git Product home page Git Product logo

huntbrooks85 / wrap Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 1.0 283.37 MB

Gathers photometry and astrometry from various ultra-violet, optical, and near-infrared catalogs given a RA, DEC, and Radius by the user. Completed by the user clicking their object overplotted on the catalog images and gathering all of the photometry and astrometry from those various catalogs.

Home Page: https://www.zooniverse.org/projects/marckuchner/backyard-worlds-planet-9

License: MIT License

Python 100.00%
astronomy python astrometry interface photometry

wrap's Introduction


๐Ÿ’ซโœจ WRAP โœจ๐Ÿ’ซ

DOI

The Wide-field Retrieval of Astrodata Program (WRAP) is a versatile tool designed to simplify the retrieval of photometric and astrometric data from a wide range of ultraviolet, optical, and near-infrared catalogs. Users input Right Ascension (RA) and Declination (DEC) coordinates, along with a search radius for their object of interest. The program then enables users to interactively select their object by simply clicking on it within catalog images. WRAP efficiently compiles and presents all pertinent photometric and astrometric information obtained from the selected catalogs, making it accessible in a convenient CSV file. This streamlines the data retrieval process, enhancing the user's experience

๐Ÿ› ๏ธ Installation For Source Code ๐Ÿ› ๏ธ

THIS IS ONLY FOR THE SOURCE CODE, NOT THE MACOS/WINDOWS APPLICATION
๐Ÿฆพ Installing Git ๐Ÿฆพ
-----------------------------------------
  1. Download Git: To get started, you'll need to install Git, which is a version control system. You can download the official Git installer for your operating system from Git's official website.

  2. Verification: After installation, you can verify that Git is properly installed by opening a terminal or command prompt and running the following command:

   git --version
๐Ÿ Anaconda Environment ๐Ÿ
-----------------------------------------

Note: Making use of an Anaconda (Conda) environment is highly recommended due to potential compatibility issues with older Python and pip packages when using WRAP.

  1. Download Anaconda Navigator: To get started, please visit Anaconda's official website and download the version of Anaconda Navigator that matches your operating system.

  2. Access Anaconda Environments: After downloading and installing Anaconda Navigator, launch the application. In the Navigator's main window, you will find an "Environments" option on the left. Click on it to access your Conda environments.

  3. Create a New Conda Environment: In the "Environments" section, you will see a plus sign labeled "Create." Click on it to create a new Conda environment.

  4. Customize Environment Settings: Give your new environment a name of your choice (e.g., "WRAP"). Next, select a Python version that is closest to Python 3.8 (e.g., 3.8.18). Then, click the "Create" button to create the environment.

  5. Environment Creation: The environment creation process may take a while, as Conda will install the necessary packages and dependencies for WRAP.

  6. Activate Your Conda Environment: Once the environment is successfully created, you can activate it in your terminal. Open your terminal and enter the following command, replacing *conda name* with the name you chose for your environment:

    conda activate *conda name*
    

โฌ‡๏ธ PIP Installation โฌ‡๏ธ

-----------------------------------------

MacOS

  1. Once the conda environment is activated, go to your directory containing the WRAP contents (e.g., "cd Documents/GitHub/WRAP").
  2. Enter the "pip_module" directory (e.g., "cd pip_module")
  3. Run the command:
    pip install -r requirements-mac.txt
    

Windows

  1. Once the conda environment is activated, go to your directory containing the WRAP contents (e.g., "cd Documents/GitHub/WRAP").
  2. Enter the "pip_module" directory (e.g., "cd pip_module")
  3. Run the command:
    pip install -r requirements-windows.txt
    
    
Opening WRAP
-----------------------------------------

To open the application, type the following command into your terminal:

  • For MacOS: python3 WRAP.py
  • For Windows: python3 .\WRAP.py

๐Ÿ† Using WRAP ๐Ÿ†

How to Use WRAP

-----------------------------------------

Single Object Search

  1. Input the Right Ascension (RA) and Declination (DEC) of the object being searched for in degrees.
  2. Input the search radius in arcseconds around the RA and DEC.
  3. Specify the desired output file name (without a file type). WRAP will save results to a CSV file by default.
  4. Select the catalogs to be searched through.
  5. Click the green "Run Wrap" button.
  6. Your standard web browser will open with WISEView to assist you in finding your object.
  7. Click on your object when the image appears (if your object is not there, click the red "Object Not Found" button).
  8. Repeat these steps until every catalog image is shown.
  9. All data is saved to a CSV file with your specified output name in the "Output" folder. If no output name was provided, it will default to "WRAP_output.csv."

Multi-Object Search

  1. Click the "Browse" button and select your file with a list of RA ("ra") and DEC ("dec") coordinates in degrees.
  2. Input the search radius in arcseconds around the RA and DEC.
  3. Choose the file type used.
  4. Specify the output file name (without a file type).
  5. Select the catalogs to be searched through.
  6. Click the green "Run Wrap" button.
  7. Your standard web browser will open with WISEView to assist you in finding your object (it will do this for every new object).
  8. Click on your object when the image appears (if your object is not there, click the red "Object Not Found" button).
  9. Repeat these steps until every catalog image is shown, and every object has been processed.
  10. All data is saved to a CSV file with your specified output name in the "Output" folder. If no output name was provided, it will default to "WRAP_output.csv."

โš ๏ธ Significant Details โš ๏ธ

-----------------------------------------

  • Note 1: Only tested on MacOS >11 and Windows >8; problems may occur for older versions of MacOS and Windows (NOT SUPPORTED ON LINUX).
  • Note 2: Windows does not support the astro-datalab package; therefore, Windows does not have the Noirlab Source Catalog option.
  • Note 3: The window close button has been disabled; to close WRAP, please click the red "Close WRAP" button at the bottom.
  • Note 4: The orientation for all of the catalogs is North pointed up and East pointing left.
  • Note 5: 2MASS may have strange imaging cropping; this is a warning that it may happen, so do not be alarmed by it.

๐ŸŒ“ Sky Coverage ๐ŸŒ—


Sky-Coverage for the Catalogs Included in WRAP

๐Ÿ“ž Support ๐Ÿ“ž

๐Ÿ“– Acknowledgments ๐Ÿ“–

  1. If you intend to publish any of the data gathered by WRAP, please ensure that you correctly acknowledge the sources of the data.

  2. In addition to using the correct acknowledgments for each catalog, please cite "Brook et al. (2023), in prep." when using WRAP for any publication.

wrap's People

Contributors

dependabot[bot] avatar huntbrooks85 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

sl2676

wrap's Issues

Would โ™ฅ to see a screenshot...

I see you've written quite a bit of GUI code! I would love to see what it looks like. Do you have a screenshot that you can drop into your readme? I'm sure other visitors would be interested as well. It's not very common for Python projects to have a GUI.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.