Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
Signed-off-by: Mattia Verga <mattia.verga@tiscali.it>
  • Loading branch information
mattiaverga committed Sep 22, 2023
1 parent a26a6a6 commit 5233422
Showing 1 changed file with 29 additions and 5 deletions.
34 changes: 29 additions & 5 deletions README.rst
Expand Up @@ -53,25 +53,49 @@ Object data is easily available from command line also:

$ ongc view NGC7000 --details
+-----------------------------------------------------------------------------+
| Id: 13055 Name: NGC7000 Type: HII Ionized region |
| Id: 13067 Name: NGC7000 Type: HII Ionized region |
| R.A.: 20:59:17.14 Dec.: +44:31:43.6 Constellation: Cyg |
| Common names: |
| North America Nebula |
+-----------------------------------------------------------------------------+
| Major axis: 120.0' Minor axis: 30.0' Position angle: N/A |
| B-mag: 4.0 V-mag: N/A J-mag: N/A H-mag: N/A K-mag: N/A |
| |
| Parallax: N/A Radial velocity: N/A Redshift: N/A |
| |
| Proper apparent motion in RA: N/A |
| Proper apparent motion in Dec: N/A |
| |
+-----------------------------------------------------------------------------+
| Other identifiers: |
| C 020, LBN 373 |
+-----------------------------------------------------------------------------+
| OpenNGC notes: |
| B-Mag taken from LEDA |
+-----------------------------------------------------------------------------+

Additionally, the available data can be manipulated through Pandas:

::

>>> from pyongc import data
>>> data.clusters(globular=True, open=False)
name type ra dec const ... parallax pmra pmdec radvel redshift
0 IC1257 GCl 4.569009 -0.123798 Oph ... NaN NaN NaN NaN NaN
1 IC1276 GCl 4.759242 -0.125796 Se2 ... 0.1100 -2.47 -4.41 155.0 0.000517
2 IC2134 GCl 1.409778 -1.316796 Men ... NaN NaN NaN NaN NaN
3 IC2140 GCl 1.454580 -1.315548 Men ... NaN NaN NaN NaN NaN
4 IC2146 GCl 1.473853 -1.305213 Men ... NaN NaN NaN 226.0 0.000755
.. ... ... ... ... ... ... ... ... ... ... ...
199 NGC7006 GCl 5.504278 0.282526 Del ... NaN -0.08 -0.61 -383.0 -0.001278
200 NGC7078 GCl 5.628569 0.212351 Peg ... 0.0522 -0.63 -3.80 -107.0 -0.000356
201 NGC7089 GCl 5.643741 -0.014369 Aqr ... 0.0612 3.51 -2.16 -4.0 -0.000012
202 NGC7099 GCl 5.673921 -0.404551 Cap ... 0.0676 -0.73 -7.24 -185.0 -0.000618
203 NGC7492 GCl 6.058233 -0.272472 Aqr ... 0.0528 0.76 -2.30 -177.0 -0.000589

[204 rows x 22 columns]

The full documentation is available at https://pyongc.readthedocs.io/en/latest/.

License
-------

PyOngc is licensed under MIT.
PyOngc code is licensed under MIT. The documentation and the database from OpenNGC are
licensed under CC-BY-SA-4.0.

0 comments on commit 5233422

Please sign in to comment.