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
Sexagesimal        Sexagesimal
----------- --------------------------
      01 ;     59,08,19,37,19,13,56 ;
      02 ;  01,58,16,39,14,38,27,52 ;
      03 ;  02,57,24,58,51,57,41,48 ;
      04 ;  03,56,33,18,29,16,55,44 ;
        ...                        ...
      56 ;  55,11,46,18,49,57,00,16 ;
      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 ;
   01,00 ;  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.

Class Inheritance Diagram

Inheritance diagram of kanon.tables.htable.HTable