Skip to main content
TNODatabase
===============================

version number: 0.2.0
author: Kyle Franson, Lynus Zullo

Introduction
------------

- This package allows for easy user interface with the TNO database set
up on DESSCI.
- Gives users the ability to add or remove candidates and see relevant
information regarding both observations and orbits.

Architecture
------------

- The database has four major tables:
- TNOBS: Individual observations of candidates. Includes information
such as ra, dec, mag, and much much more!
- TNORBIT: Orbits of both reported and unreported candidates. Includes
information such as chisq, a, e, i. Each orbit has an ID, which is
the same as the designation for known candidates, and an orbitID,
which helps us link observations to orbits.
- TNOLINK: List of observations that are associated to a particular
orbit. Links observations to orbit with a unique orbitID.
- TNOSTAT: Contains information about quality of candidates.

Requirements
------------

- Easyaccess module (http://matias-ck.com/easyaccess/#/Home)
- PyOrbfit (orbit fitting code)
- Valid DES username and password

Installation / Usage
--------------------

To install use pip:

::

$ pip install TNODatabase

Or clone the repo:

::

$ git clone https://github.com/kfranson/TNODatabase.git
$ python setup.py install

Configuration
-------------

- The module has no menu or modifiable settings. There is no
configuration

Troubleshooting
---------------

- For all troubleshooting question contact either lynusz@umich.edu or
kfranson@umich.edu

FAQ
---

- Q: How do I get started?
- A: After installing (‘pip install TNODatabase’) you will want to
create a new python project and ‘import TNODatabase’. Next, create a
class object inside your file ‘db = TNODatabase.Connect()’. Now you
should be able to call any function you want. ‘db.[function\_name]’

- Q: How do I add a candidate?
- A: Users can add a candidate by passing either a csv file, a pandas
data frame, or a minor planet center text file. The relevant
functions are:
- add\_candidate\_from\_csv(csv\_file, season, name(optional))
- add\_candidate\_from\_mpc(file\_name, canid)
- add\_candidate(can\_table, season, name(optional),
designation(optional))
- Q: How can I see information about a candidate?
- A: The most basic way to see information about a candidate is to use
the appropriate SQL query inside of easyaccess. However, there are
several functions inside of TNODatabase that streamline the process.
Call these and provide appropriate arguments.

- In order to see comprehensive documentation simply type in terminal
‘help(TNODatabase)’

Contributing
------------

- Lynus Zullo (lynusz@umich.edu)
- Kyle Franson (kfranson@umich.edu)

Metadata

Release files for TNODatabase 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for TNODatabase 0.2.0
File Size Uploaded Provenance Actions
TNODatabase-0.2.0.tar.gz 18.0 kB Without provenance Details for TNODatabase-0.2.0.tar.gz

Release files / TNODatabase-0.2.0.tar.gz

Download URL TNODatabase-0.2.0.tar.gz
Size 18.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5ded47154d9d2fac75a237757678f8f77b8aeef8a9711a692681e6434f3358b8
BLAKE2b-256 checksum
How to use checksums
76261e5bcaf5662baf993472d5950eb48a15ba5141bc9b447d4e1b835dc4e888
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for TNODatabase 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page