Skip to main content

Legacyplate Data Query

Project description

legacyplate query

Description

legacyplatequery is a legacyplate query tool developed by Shanghai Astronomical Observatory. It provide a python package like Astroquery.

Installation

You can use pip command to install it: `shell pip install legacyplatequery `

Usage

  1. import the package.

`python import legacyplatequery as lpdata `

  1. Login

`python user = 'wangweihua' password = 'xxx' lpdata.auth(user, password) `

  1. Get the total number of legacy plate

`python lpdata.get_total_of_plates() `

  1. Get the total number of the stars in the star catalog

`python lpdata.get_total_of_star_catalog() `

  1. Search the legacy plates with q3c_radial_query

`python ra = 12.0 dec = 12.0 radius = 12 plates = lpdata.get_plates_by_radial_query(ra, dec, radius) print(plates) `

  1. Search the stars with q3c_radial_query

`python stars = lpdata.get_star_catalog_by_radial_query(ra, dec) print(stars) `

History

0.1.0 (2023-04-11)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

legacyplatequery-0.1.3.tar.gz (13.4 kB view details)

Uploaded Source

File details

Details for the file legacyplatequery-0.1.3.tar.gz.

File metadata

  • Download URL: legacyplatequery-0.1.3.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.12

File hashes

Hashes for legacyplatequery-0.1.3.tar.gz
Algorithm Hash digest
SHA256 f7bd800daff064800f17f5108ac203003feea3b58abdaab780da136608e5689d
MD5 23d356a1ec3e1e8d7f283fd5739f1cce
BLAKE2b-256 4dc178f4c487efee31de80492e23e5d96a60e5442c4370fe52b599b57ec2de65

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page