tables — Defining ancient astronomical tables

kanon.tables Package

>>> from kanon.tables import HTable
>>> table = HTable.read(193)
>>> table
<HTable length=60>
         Days                  Entries
          d                      deg
IntegerAndSexagesimal        Sexagesimal
--------------------- --------------------------
                 1 ;     59,08,19,37,19,13,56 ;
                 2 ;  01,58,16,39,14,38,27,52 ;
                 3 ;  02,57,24,58,51,57,41,48 ;
                  ...                        ...
                57 ;  56,10,54,38,27,16,14,12 ;
                58 ;  57,10,02,58,04,35,28,08 ;
                59 ;  58,09,11,17,41,54,42,04 ;
                60 ;  59,08,19,37,19,13,56,00 ;
>>> table.loc[2]["Entries"]
01,58,16,39,14,38,27,52 ;

Classes

HTable([data, names, index, dtype, units])

HTable is a subclass of astropy.table.Table, made to model Historical Astronomy tables representing mathematical functions. Its argument column or columns are its index, while the values should be on the first column. Columns are allowed to contain all kinds of Real, especially BasedReal numbers. HTable also provides additional historical features and metadata.

Class Inheritance Diagram

Inheritance diagram of kanon.tables.htable.HTable