├── htof ├── __init__.py ├── data │ ├── __init__.py │ ├── hip2_Javatool_flagged.txt │ ├── hip2_recalibrated_header.txt │ ├── astrometric_gaps_gaiaedr3_12232020.csv │ ├── hip1_flagged.txt │ └── epoch_reject_shortlist.csv ├── test │ ├── __init__.py │ ├── test_polynomial.py │ ├── data_for_tests │ │ ├── GaiaeDR3 │ │ │ └── IntermediateData │ │ │ │ └── HIP000001_testsource.csv │ │ ├── GaiaDR2 │ │ │ └── IntermediateData │ │ │ │ └── HIP000001_testsource.csv │ │ ├── Hip2 │ │ │ ├── truncated_hip2dvd_Main_Cat.d │ │ │ └── IntermediateData │ │ │ │ ├── HIP072477.d │ │ │ │ ├── HIP078999.d │ │ │ │ ├── HIP027321.d │ │ │ │ ├── HIP000039.d │ │ │ │ ├── HIP009631.d │ │ │ │ └── HIP016468.d │ │ ├── Hip21 │ │ │ └── IntermediateData │ │ │ │ ├── H021000.d │ │ │ │ ├── H072477.d │ │ │ │ ├── H044050.d │ │ │ │ ├── H094046.d │ │ │ │ ├── H114114.d │ │ │ │ ├── H018907.d │ │ │ │ ├── H000581.d │ │ │ │ ├── H027321.d │ │ │ │ ├── H999999.d │ │ │ │ ├── H094312.d │ │ │ │ ├── H000039.d │ │ │ │ └── H043023.d │ │ ├── Hip1 │ │ │ └── IntermediateData │ │ │ │ ├── 46871.txt │ │ │ │ ├── 004391.txt │ │ │ │ ├── 044801.txt │ │ │ │ ├── 5310.txt │ │ │ │ ├── 70000.txt │ │ │ │ ├── 5313.txt │ │ │ │ ├── 027321.txt │ │ │ │ ├── 999999.txt │ │ │ │ └── 46979.txt │ │ └── MockServer │ │ │ └── 004391.html │ ├── test_data_utils.py │ ├── test_sky_path.py │ └── test_utils_ftp.py ├── utils │ ├── __init__.py │ ├── ftp.py │ ├── parse_utils.py │ ├── fit_utils.py │ └── data_utils.py ├── polynomial │ ├── __init__.py │ └── polynomial.py ├── validation │ ├── __init__.py │ ├── htof_adhoc_correction_f2.py │ └── hip_java_deep_refit.py ├── settings.py ├── main.py └── sky_path.py ├── requirements.txt ├── pytest.ini ├── .coveragerc ├── setup.py ├── .travis.yml ├── LICENSE └── .gitignore /htof/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /htof/data/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /htof/test/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /htof/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /htof/polynomial/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /htof/validation/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | astropy>=2.0 2 | pandas>=0.24.0 3 | scipy>=1.0.0 4 | numpy>=1.17 5 | requests -------------------------------------------------------------------------------- /pytest.ini: -------------------------------------------------------------------------------- 1 | [pytest] 2 | markers = 3 | e2e: mark a test as end-to-end 4 | integration: mark a test as integration 5 | -------------------------------------------------------------------------------- /.coveragerc: -------------------------------------------------------------------------------- 1 | [report] 2 | omit = 3 | */python?.?/* 4 | */site-packages/nose/* 5 | *__init__* 6 | */validation/* 7 | *.ipynb 8 | htof/test/* 9 | exclude_lines = 10 | pragma: no cover 11 | -------------------------------------------------------------------------------- /htof/data/hip2_Javatool_flagged.txt: -------------------------------------------------------------------------------- 1 | 1627 2 | 1834 3 | 2085 4 | 8953 5 | 19057 6 | 23950 7 | 28134 8 | 28874 9 | 35793 10 | 37515 11 | 38923 12 | 40060 13 | 42831 14 | 42926 15 | 42975 16 | 48036 17 | 48662 18 | 50722 19 | 59267 20 | 62986 21 | 65006 22 | 65166 23 | 75018 24 | 77598 25 | 83866 26 | 84123 27 | 84329 28 | 92013 29 | 92420 30 | 97717 31 | 98190 32 | 98856 33 | 99021 34 | 99362 35 | 101282 36 | 104130 37 | 104214 38 | 117099 39 | -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- 1 | from setuptools import setup, find_packages 2 | 3 | setup(name='htof', 4 | author='G. Mirek Brandt, Daniel Michalik, Gavin K. Hung', 5 | version='1.1.5', 6 | python_requires='>=3.6', 7 | packages=find_packages(), 8 | package_dir={'htof': 'htof'}, 9 | package_data={'htof': ['data/*.csv', 'data/*.txt']}, 10 | setup_requires=['pytest-runner'], 11 | install_requires=['astropy>=2.0', 'pandas>=0.24.0', 'scipy>=1.0.0', 'numpy>=1.16', 'requests'], 12 | tests_require=['pytest>=3.5']) 13 | -------------------------------------------------------------------------------- /htof/test/test_polynomial.py: -------------------------------------------------------------------------------- 1 | import numpy as np 2 | from htof.polynomial import polynomial as poly 3 | 4 | 5 | def test_taylorvander(): 6 | expected = np.array([[1., 1., 0.5], 7 | [1., 2., 2.], 8 | [1., 3., 4.5], 9 | [1., 5., 12.5]]) 10 | 11 | assert np.allclose(expected, poly.taylorvander(np.array([1, 2, 3, 5]), 2)) 12 | 13 | 14 | def test_taylor_series(): 15 | series = poly.TaylorSeries(np.array([1, 2, 2, 1])) 16 | for domain in [np.arange(5), np.arange(5, 10), np.arange(-10, 5)]: 17 | assert np.allclose(series(domain), 1 + 2 * domain + 2 * 1/2 * domain**2 + 1/6 * domain**3) 18 | -------------------------------------------------------------------------------- /htof/test/data_for_tests/GaiaeDR3/IntermediateData/HIP000001_testsource.csv: -------------------------------------------------------------------------------- 1 | Target, ra[rad], dec[rad], ra[h:m:s], dec[d:m:s], ObservationTimeAtGaia[UTC], CcdRow[1-7], zetaFieldAngle[rad], scanAngle[rad], Fov[FovP=preceding/FovF=following], parallaxFactorAlongScan, parallaxFactorAcrossScan, ObservationTimeAtBarycentre[BarycentricJulianDateInTCB] 2 | HIP FAKEFAKE,2.656037758684353,0.5976402419340764,10:08:43.141,+34:14:32.149,2014-10-21T06:24:42.159 ,2,0.004440133423860639,-1.8904696884345342,FoVF,-0.6010756073564048,0.7102687339534028,2456899.59 3 | HIP FAKEFAKE,2.656037758684353,0.5976402419340764,10:08:43.141,+34:14:32.149,2014-10-21T06:24:42.159 ,2,0.004440133423860639,-1.7804696884345342,FoVF,-0.6010756073564048,0.7102687339534028,2456900.6686 -------------------------------------------------------------------------------- /htof/test/data_for_tests/GaiaDR2/IntermediateData/HIP000001_testsource.csv: -------------------------------------------------------------------------------- 1 | Target, ra[rad], dec[rad], ra[h:m:s], dec[d:m:s], ObservationTimeAtGaia[UTC], CcdRow[1-7], zetaFieldAngle[rad], scanAngle[rad], Fov[FovP=preceding/FovF=following], parallaxFactorAlongScan, parallaxFactorAcrossScan, ObservationTimeAtBarycentre[BarycentricJulianDateInTCB] 2 | HIP FAKEFAKE,2.656037758684353,0.5976402419340764,10:08:43.141,+34:14:32.149,2014-10-21T06:24:42.159 ,2,0.004440133423860639,-1.8904696884345342,FoVF,-0.6010756073564048,0.7102687339534028,2456893.2800175 3 | HIP FAKEFAKE,2.656037758684353,0.5976402419340764,10:08:43.141,+34:14:32.149,2014-10-21T06:24:42.159 ,2,0.004440133423860639,-1.7804696884345342,FoVF,-0.6010756073564048,0.7102687339534028,2456893.28785 -------------------------------------------------------------------------------- /htof/data/hip2_recalibrated_header.txt: -------------------------------------------------------------------------------- 1 | # This file contains residual records, extracted from the Hipparcos 2 2 | # Interactive Data Access Tool (2014), and recalibrated by HTOF (Brandt et al. 2022 a and b) 3 | # For more information, see: https://www.cosmos.esa.int/web/hipparcos/interactive-data-access 4 | # https://www.cosmos.esa.int/web/hipparcos/catalogues 5 | # 6 | # HIP MCE NRES NC isol_n SCE F2 F1 7 | # line6 8 | # Hp B-V VarAnn NOB NR 9 | # line8 10 | # RAdeg DEdeg Plx pm_RA pm_DE e_RA e_DE e_Plx e_pmRA e_pmDE dpmRA dpmDE e_dpmRA e_dpmDE ddpmRA ddpmDE e_ddpmRA e_ddpmDE upsRA upsDE e_upsRA e_upsDE var 11 | # line10 12 | # 13 | # IORB EPOCH PARF CPSI SPSI RES SRES -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | dist: xenial # required for Python >= 3.7 2 | language: python 3 | python: 4 | - "3.6" 5 | - "3.7" 6 | - "3.8" 7 | - "3.9" 8 | notifications: 9 | email: false 10 | # command to install dependencies 11 | install: 12 | - pip install -r requirements.txt 13 | - pip install pytest 14 | - pip install pytest-cov 15 | - pip install -U importlib_metadata 16 | - pip install coveralls 17 | # note that pip install -U importlib_metadata is to fix an issue with python 3.7 only. 18 | # see: https://travis-ci.community/t/build-error-for-python-3-7-on-two-different-projects/12895/2 19 | # commands to run tests, generate coverage report, and pipe the report to coveralls: 20 | # see https://levibostian.com/blog/python-code-coverage-and-coveralls-io/ 21 | script: 22 | - pytest --cov=htof/ 23 | after_success: 24 | - coveralls 25 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 Gregory Mirek Brandt 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /htof/data/astrometric_gaps_gaiaedr3_12232020.csv: -------------------------------------------------------------------------------- 1 | start,end,duration,description 2 | 1220.400,1225.200,4.800,VPU reset 3 | 1316.490,1389.113,72.623,decontamination {\#}4 4 | 1443.800,1444.200,0.400,refocus (following FoV) 5 | 1653.800,1660.000,6.200,PAA anomaly 6 | 1820.900,1830.000,9.100,PAA anomaly 7 | 2094.000,2099.000,5.000,PDHU anomaly 8 | 2179.125,2191.000,11.875,VPU software update 9 | 2192.252,2195.218,2.967,observation gap 10 | 2238.000,2242.000,4.000,unknown 11 | 2322.300,2401.559,79.259,decontamination {\#}5 12 | 2405.967,2408.643,2.676,observation gap 13 | 2408.935,2409.968,1.033,observation gap 14 | 2574.640,2575.400,0.760,refocus (preceding FoV) 15 | 2954.200,2958.000,3.800,moon eclipse 16 | 3045.133,3049.000,3.867,PDHU anomaly 17 | 3603.250,3605.227,1.976,observation gap 18 | 3646.800,3650.000,3.200,moon eclipse 19 | 3663.700,3667.000,3.300,moon eclipse 20 | 4074.210,4076.063,1.853,observation gap 21 | 4112.463,4180.000,67.537,decontamination {\#}6 22 | 4271.753,4275.200,3.445,PAA anomaly 23 | 4477.441,4481.000,3.550,PAA anomaly 24 | 4512.502,4515.000,2.498,PAA anomaly 25 | 4545.144,4548.000,2.856,PAA anomaly 26 | 5078.547,5080.600,2.053,STR anomaly -------------------------------------------------------------------------------- /htof/data/hip1_flagged.txt: -------------------------------------------------------------------------------- 1 | 695 2 | 1276 3 | 8391 4 | 9306 5 | 12969 6 | 14031 7 | 16075 8 | 16947 9 | 17767 10 | 18331 11 | 18338 12 | 19359 13 | 19481 14 | 19911 15 | 19912 16 | 19977 17 | 20441 18 | 22021 19 | 22137 20 | 22223 21 | 22350 22 | 23483 23 | 23541 24 | 24343 25 | 26412 26 | 27788 27 | 27873 28 | 30113 29 | 30884 30 | 30997 31 | 31713 32 | 35191 33 | 38405 34 | 38893 35 | 38949 36 | 38961 37 | 39392 38 | 39611 39 | 39649 40 | 39667 41 | 40470 42 | 40616 43 | 41016 44 | 41337 45 | 41556 46 | 41990 47 | 43424 48 | 44027 49 | 44465 50 | 45320 51 | 46795 52 | 47707 53 | 48506 54 | 50039 55 | 51693 56 | 51969 57 | 53528 58 | 54382 59 | 54387 60 | 64155 61 | 64438 62 | 65860 63 | 66849 64 | 70931 65 | 74815 66 | 75487 67 | 75780 68 | 76259 69 | 77456 70 | 77911 71 | 78225 72 | 78400 73 | 78872 74 | 80878 75 | 81421 76 | 82059 77 | 83191 78 | 83665 79 | 83844 80 | 84468 81 | 84728 82 | 84821 83 | 88446 84 | 92689 85 | 95271 86 | 95878 87 | 97214 88 | 97529 89 | 97946 90 | 98042 91 | 98129 92 | 98184 93 | 98189 94 | 98664 95 | 99321 96 | 99642 97 | 99718 98 | 100119 99 | 100433 100 | 100502 101 | 100928 102 | 101344 103 | 101466 104 | 103119 105 | 103257 106 | 103291 107 | 103440 108 | 104096 109 | 104214 110 | 105863 111 | 105878 112 | 108207 113 | 108523 114 | 108624 115 | 108792 116 | 112706 117 | 113426 118 | 113815 119 | 114272 120 | 114614 121 | 117059 122 | -------------------------------------------------------------------------------- /htof/test/data_for_tests/Hip2/truncated_hip2dvd_Main_Cat.d: -------------------------------------------------------------------------------- 1 | col1 col2 col3 col4 col5 col6 col7 col8 col9 col10 col11 col12 col13 col14 col15 col16 col17 col18 col19 col20 col21 col22 col23 col24 col25 col26 col27 col28 col29 col30 col31 col32 col33 col34 col35 col36 col37 col38 col39 col40 col41 2 | 70 95 3 1 0.0035396034 0.6418908291 5.95 -23.25 -18.58 2.71 1.58 3.08 3.27 1.92 112 18.78 4 0.0 0 10.587 0.043 0.0 0 0.706 0.072 0.76 0.97 0.3 1.69 -0.08 0.08 0.86 -0.05 -0.04 0.2 0.79 -0.09 -0.37 -0.08 0.15 1.34 3 | 9631 7 0 1 0.5401883531 -0.0059366726 9.03 80.85 -42.37 0.66 0.42 0.65 0.97 0.49 114 8.9 0 0.0 96 6.0997 0.0006 0.005 0 0.851 0.005 0.88 3.49 -1.22 5.97 -0.16 0.84 2.85 1.8 -0.61 -0.38 2.67 -1.68 2.66 -0.17 -0.68 3.85 4 | 16468 9 0 1 0.9254309391 -0.8579852658 4.62 3.06 31.52 0.63 0.72 0.7 0.8 0.86 132 2.46 0 0.0 10 8.0482 0.0012 0.017 0 1.037 0.013 1.01 2.15 0.42 2.05 0.09 0.11 1.81 0.24 -0.1 -0.22 1.9 -0.05 -0.12 -0.35 0.15 1.64 5 | 25838 9 0 1 1.4441183419 1.255316591 4.96 10.54 -10.04 0.33 0.53 0.57 0.4 0.8 198 1.32 0 0.0 19 7.559 0.0009 0.01 0 1.153 0.008 1.12 3.57 0.12 2.62 -0.24 -0.01 1.92 0.16 -0.28 -0.31 3.02 -0.2 -0.27 0.09 0.07 1.91 6 | 27321 5 0 1 1.515315464 -0.8912822871 51.44 4.66 83.1 0.1 0.11 0.11 0.11 0.15 111 -1.81 0 0.0 0 3.9077 0.0006 0.005 0 0.171 0.002 0.18 9.01 0.24 8.02 -0.31 0.62 7.84 0.94 -0.73 1.49 7.95 -0.62 0.21 0.77 -0.45 6.02 7 | 78999 5 0 1 4.2218221781 -0.0996020948 28.11 156.38 -177.64 1.79 0.94 2.4 4.05 2.2 64 -0.13 0 0.0 0 10.5024 0.0031 0.026 0 1.205 0.159 1.16 0.57 0.29 1.19 0.04 0.06 0.54 0.01 0.0 0.2 0.25 0.01 -0.25 -0.04 0.1 0.45 8 | -------------------------------------------------------------------------------- /htof/settings.py: -------------------------------------------------------------------------------- 1 | """ 2 | NOTE 1: Gaia DR2 is based on data collected from the start of the nominal observations on 2014 3 | July 25 (10:30 UTC) until 2016 May 23 (11:35 UTC), or 668 days. However, the astrometric solution 4 | for this release did not use the observations during the first month after commissioning, when 5 | a special scanning mode (the ecliptic pole scanning law, EPSL) was employed. The data for the 6 | astrometry therefore start on 2014 Aug 22 21:00 UTC (BJD 2456892.375) and cover 640 days 7 | or 1.75 yr (therefore until 2016 May 23, or BJD 2457532.375). 8 | 9 | 10 | NOTE 2: GaiaEDR3 is based on data collected from the start of the nom-inal 11 | observations on 25 July 2014 (10:30 UTC) until 28 May2017 (08:45 UTC), 12 | or 1038 days (data segments DS0–DS3 inFig. 1). Similarly to the astrometric solution for 13 | DR2 (Lindegrenet al. 2018), this solution did not use the observations in the first month of 14 | the operational phase, when the special ecliptic polescanning law (EPSL) was employed. 15 | The data for the astrom-etry therefore start on 22 August 2014 (21:00 UTC) and cover 16 | 1009 days or 2.76 yr, with some interruptions mentioned below. 17 | 18 | NOTE 2 is from section 2.2 of https://www.aanda.org/articles/aa/pdf/forth/aa39709-20.pdf 19 | """ 20 | 21 | GaiaDR2_min_epoch = 2456892.375 # Barycentric Julian Day (BJD) 22 | GaiaDR2_max_epoch = 2457532.375 # Barycentric Julian Day (BJD) 23 | 24 | GaiaeDR3_min_epoch = 2456892.375 # Barycentric Julian Day (BJD), 2014.6403 in jyear 25 | GaiaeDR3_max_epoch = 2457901.375 # Barycentric Julian Day (BJD), 2017.4028 in jyear 26 | -------------------------------------------------------------------------------- /htof/polynomial/polynomial.py: -------------------------------------------------------------------------------- 1 | import numpy as np 2 | from numpy.polynomial.polynomial import Polynomial 3 | from scipy.special import factorial 4 | 5 | 6 | def taylorvander(x, deg): 7 | """ 8 | Taylor series analog for the Vandermonde matrix of given degree. 9 | Returns the Vandermonde matrix of degree `deg` and sample points 10 | `x`. The Vandermonde matrix is defined by 11 | .. math:: V[..., i] = x^i / i!, 12 | where `0 <= i <= deg`. The leading indices of `V` index the elements of 13 | `x` and the last index is the power of `x`. 14 | Parameters 15 | ---------- 16 | x : array_like 17 | Array of points. The dtype is converted to float64 or complex128 18 | depending on whether any of the elements are complex. If `x` is 19 | scalar it is converted to a 1-D array. 20 | deg : int 21 | Degree of the resulting matrix. 22 | Returns 23 | ------- 24 | vander : ndarray. 25 | The Vandermonde matrix. The shape of the returned matrix is 26 | ``x.shape + (deg + 1,)``, where the last index is the power of `x`. 27 | The dtype will be the same as the converted `x`. 28 | See Also 29 | -------- 30 | numpy.polynomial.polynomial.polyvander 31 | Examples 32 | -------- 33 | >>> x = np.array([1, 2, 3, 5]) 34 | >>> deg = 2 35 | >>> taylorvander(x, deg) 36 | array([[ 1., 1., 0.5], 37 | [ 1., 2., 2.], 38 | [ 1., 3., 4.5], 39 | [ 1., 5., 12.5]]) 40 | 41 | """ 42 | return np.polynomial.polynomial.polyvander(x, deg) / factorial(np.arange(deg + 1)) 43 | 44 | 45 | class TaylorSeries(Polynomial): 46 | def __init__(self, coef, domain=None, window=None): 47 | mp = factorial(np.arange(len(coef))) 48 | super(TaylorSeries, self).__init__(coef / mp, domain=domain, window=window) 49 | -------------------------------------------------------------------------------- /htof/utils/ftp.py: -------------------------------------------------------------------------------- 1 | from ftplib import FTP_TLS, error_perm 2 | import warnings 3 | import os 4 | 5 | 6 | def download_and_save_hip21_data_to(star_id, outpath): 7 | if int(star_id) < 1 or int(star_id) > 120404: 8 | raise RuntimeError("Can not download data. The Hipparcos star ID is likely invalid.") 9 | file_name = 'H' + str(star_id).zfill(6) + '.d' 10 | subdir = file_name[:4] 11 | # the filepath on the anonymous@ftp.cosmos.esa.int ftp server. I think this path needs to be in the 12 | # unix / forward slashes, so we are not using os.path here because on windows it will use \ slashes. 13 | fullpath = f'HIPPARCOS_PUBLIC_DATA/ResRec_JavaTool_2014/{subdir}/{file_name}' 14 | 15 | HOSTNAME = "ftp.cosmos.esa.int" 16 | USERNAME = "anonymous" 17 | PASSWORD = "https://github.com/gmbrandt/HTOF" # so that the host knows where this request is coming from. 18 | # Log into the ESA FTP server. 19 | try: 20 | ftps = FTP_TLS(HOSTNAME, timeout=30) 21 | ftps.login(USERNAME, PASSWORD) 22 | ftps.prot_p() 23 | except: 24 | warnings.warn("Connecting to European Space Agency FTP failed.") 25 | raise RuntimeError("Connecting to European Space Agency FTP failed. Try again later, or download this" 26 | " file manually.") 27 | # Download the IAD file. 28 | try: 29 | # Write file in binary mode 30 | with open(outpath, "wb") as file: 31 | # Command for Downloading the file "RETR filename" 32 | ftps.retrbinary(f"RETR {fullpath}", file.write) 33 | except: 34 | os.remove(outpath) 35 | raise RuntimeError("Downloading the IAD file failed. Try again later, or download this" 36 | " file manually. Also check if the star_id is a valid Hipparcos ID.") 37 | # log out of the FTP server. 38 | ftps.quit() 39 | return None 40 | 41 | -------------------------------------------------------------------------------- /htof/utils/parse_utils.py: -------------------------------------------------------------------------------- 1 | from astropy.time import Time 2 | from html.parser import HTMLParser 3 | import warnings 4 | 5 | def gaia_obmt_to_tcb_julian_year(obmt): 6 | """ 7 | convert OBMT (on board mission timeline) to TCB julian years via 8 | https://gea.esac.esa.int/archive/documentation/GDR2/Introduction/chap_cu0int/cu0int_sec_release_framework/cu0int_ssec_time_coverage.html 9 | Equation 1.1 10 | :param obmt: on-board mission timeline in units of six-hour revolutions since launch. OBMT (in revolutions) 11 | :return: astropy.time.Time 12 | 13 | Note that this is the same for DR2 as it is for eDR3, as of 12 23 2020. 14 | """ 15 | tcbjy = 2015 + (obmt - 1717.6256)/(1461) 16 | return Time(tcbjy, scale='tcb', format='jyear') 17 | 18 | 19 | def parse_html(response): 20 | parser = HipparcosOriginalDataHTMLParser() 21 | parser.feed(response) 22 | parser.close() 23 | data = parser.data 24 | if data is None or "not found" in data: 25 | warnings.warn("The Hipparcos/Tycho Catalogue returned an empty file.") 26 | return None 27 | return data 28 | 29 | 30 | class HipparcosOriginalDataHTMLParser(HTMLParser): 31 | """ 32 | Pull the Hipparcos Original IAD that is hosted online, source-by-source, 33 | at f"https://hipparcos-tools.cosmos.esa.int/cgi-bin/HIPcatalogueSearch.pl?hipiId={star_id}" 34 | """ 35 | def __init__(self): 36 | super(HipparcosOriginalDataHTMLParser, self).__init__() 37 | self.prev_tag = None 38 | self.current_tag = None 39 | self.data = None 40 | 41 | def handle_starttag(self, tag, attrs): 42 | self.prev_tag = self.current_tag 43 | self.current_tag = tag 44 | 45 | def handle_data(self, data): 46 | if self.prev_tag == 'pre' and self.current_tag == "b": 47 | self.data = data.strip() 48 | 49 | def close(self): 50 | self.current_tag = None 51 | self.prev_tag = None 52 | super(HipparcosOriginalDataHTMLParser, self).close() 53 | -------------------------------------------------------------------------------- /htof/test/test_data_utils.py: -------------------------------------------------------------------------------- 1 | import pandas as pd 2 | import numpy as np 3 | from htof.utils.data_utils import merge_consortia, safe_concatenate 4 | 5 | 6 | def test_merge_consortia(): 7 | data = pd.DataFrame([[133, 'F', -0.9053, -0.4248, 0.6270, 1.1264, 0.5285, -2.50, 2.21, 0.393], 8 | [133, 'N', -0.9051, -0.4252, 0.6263, 1.1265, 0.5291, -1.18, 1.59, 0.393], 9 | [271, 'N', -0.1051, -0.1252, 0.1263, 0.1265, 0.1291, -0.18, 0.59, 0.193]], 10 | columns=['A1', 'IA2', 'IA3', 'IA4', 'IA5', 'IA6', 'IA7', 'IA8', 'IA9', 'IA10']) 11 | merged_orbit = merge_consortia(data) 12 | assert len(merged_orbit) == 2 13 | assert np.isclose(merged_orbit['IA9'].iloc[0], 1.498373) # merged error 14 | assert np.isclose(merged_orbit['IA8'].iloc[0], -1.505620) # merged residual 15 | assert np.isclose(merged_orbit['IA8'].iloc[1], -0.18) # single orbit un-touched residual 16 | 17 | 18 | def test_merge_consortia_equal_on_flipped_rows(): 19 | data1 = pd.DataFrame([[133, 'F', -0.9053, -0.4248, 0.6270, 1.1264, 0.5285, -2.50, 2.21, 0.393], 20 | [133, 'N', -0.9051, -0.4252, 0.6263, 1.1265, 0.5291, -1.18, 1.59, 0.393]], 21 | columns=['A1', 'IA2', 'IA3', 'IA4', 'IA5', 'IA6', 'IA7', 'IA8', 'IA9', 'IA10']) 22 | data2 = pd.DataFrame([[133, 'N', -0.9051, -0.4252, 0.6263, 1.1265, 0.5291, -1.18, 1.59, 0.393], 23 | [133, 'F', -0.9053, -0.4248, 0.6270, 1.1264, 0.5285, -2.50, 2.21, 0.393]], 24 | columns=['A1', 'IA2', 'IA3', 'IA4', 'IA5', 'IA6', 'IA7', 'IA8', 'IA9', 'IA10']) 25 | pd.testing.assert_frame_equal(merge_consortia(data2), merge_consortia(data1)) 26 | 27 | 28 | def test_safe_concatenate(): 29 | a, b = np.arange(3), np.arange(3, 6) 30 | assert np.allclose(a, safe_concatenate(a, None)) 31 | assert np.allclose(b, safe_concatenate(None, b)) 32 | assert None is safe_concatenate(None, None) 33 | assert np.allclose(np.arange(6), safe_concatenate(a, b)) 34 | -------------------------------------------------------------------------------- /htof/validation/htof_adhoc_correction_f2.py: -------------------------------------------------------------------------------- 1 | import os 2 | import numpy as np 3 | from astropy.io import ascii as ascii_astropy 4 | from astropy.table import Table 5 | from htof.parse import HipparcosRereductionJavaTool 6 | 7 | # Directory containing the residual records corresponding to the Java tool data 8 | # Redirect this to the directory containing the IAD of all (6617) sources 9 | test_data_directory = os.path.join(os.getcwd(), 'htof/test/data_for_tests/Hip21') 10 | 11 | # Read list of the 6617 discrepant sources discussed in Brandt et al. 2021, Section 4 12 | discrepant = ascii_astropy.read("htof/data/hip21_java_nobs_discrepant.txt", names=["HIP", "diffNobs"]) 13 | numDis = len(discrepant[discrepant['diffNobs'] > 0]) 14 | 15 | # Instantiate a data parser 16 | data = HipparcosRereductionJavaTool() 17 | 18 | # For each source, Let's store: 19 | # HIP 20 | # catalog_f2 21 | # htof_f2 without ad-hoc correction 22 | # htof_f2 with ad-hoc correction 23 | # The difference of the htof_f2 with ad-hoc correction and the catalog f2 24 | results = np.zeros((numDis, 5)) 25 | 26 | hip_ids_to_parse = discrepant[discrepant['diffNobs'] > 0]["HIP"] 27 | # hip_ids_to_parse = ['27321', '37515'] debug 28 | for idx, hip_id in enumerate(hip_ids_to_parse): 29 | results[idx][0] = hip_id 30 | # parse data without ad-hoc correction, compute and store f2 31 | data.parse(star_id=hip_id, intermediate_data_directory=test_data_directory, attempt_adhoc_rejection=False) 32 | results[idx][1] = data.meta['catalog_f2'] 33 | results[idx][2] = data.meta['calculated_f2'] 34 | # parse data with ad-hoc correction, compute and store f2 35 | data.parse(star_id=hip_id, intermediate_data_directory=test_data_directory, attempt_adhoc_rejection=True) 36 | results[idx][3] = data.meta['calculated_f2'] 37 | results[idx][4] = data.meta['calculated_f2'] - data.meta['catalog_f2'] 38 | 39 | # write out results 40 | output_table = Table(results, names=["HIP", "catalog_f2", "htof_f2_without", "htof_f2", "difference"], 41 | dtype=['i8', 'f8', 'f8', 'f8', 'f8']) 42 | output_table.write('f2_comparison_results.csv', overwrite=True) 43 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Byte-compiled / optimized / DLL files 2 | __pycache__/ 3 | *.py[cod] 4 | *$py.class 5 | 6 | # C extensions 7 | *.so 8 | 9 | # Distribution / packaging 10 | .Python 11 | build/ 12 | develop-eggs/ 13 | dist/ 14 | downloads/ 15 | eggs/ 16 | .eggs/ 17 | lib/ 18 | lib64/ 19 | parts/ 20 | sdist/ 21 | var/ 22 | wheels/ 23 | **/__pycache__/** 24 | pip-wheel-metadata/ 25 | share/python-wheels/ 26 | *.egg-info/ 27 | .installed.cfg 28 | *.egg 29 | MANIFEST 30 | 31 | # PyInstaller 32 | # Usually these files are written by a python script from a template 33 | # before PyInstaller builds the exe, so as to inject date/other infos into it. 34 | *.manifest 35 | *.spec 36 | 37 | # Installer logs 38 | pip-log.txt 39 | pip-delete-this-directory.txt 40 | 41 | # Unit test / coverage reports 42 | htmlcov/ 43 | .tox/ 44 | .nox/ 45 | .coverage 46 | .coverage.* 47 | .cache 48 | nosetests.xml 49 | coverage.xml 50 | *.cover 51 | .hypothesis/ 52 | .pytest_cache/ 53 | 54 | # Translations 55 | *.mo 56 | *.pot 57 | 58 | # Django stuff: 59 | *.log 60 | local_settings.py 61 | db.sqlite3 62 | db.sqlite3-journal 63 | 64 | # Flask stuff: 65 | instance/ 66 | .webassets-cache 67 | 68 | # Scrapy stuff: 69 | .scrapy 70 | 71 | # Sphinx documentation 72 | docs/_build/ 73 | 74 | # PyBuilder 75 | target/ 76 | 77 | # Jupyter Notebook 78 | .ipynb_checkpoints 79 | 80 | # IPython 81 | profile_default/ 82 | ipython_config.py 83 | 84 | # pyenv 85 | .python-version 86 | 87 | # pipenv 88 | # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. 89 | # However, in case of collaboration, if having platform-specific dependencies or dependencies 90 | # having no cross-platform support, pipenv may install dependencies that don't work, or not 91 | # install all needed dependencies. 92 | #Pipfile.lock 93 | 94 | # celery beat schedule file 95 | celerybeat-schedule 96 | 97 | # SageMath parsed files 98 | *.sage.py 99 | 100 | # Environments 101 | .env 102 | .venv 103 | env/ 104 | venv/ 105 | ENV/ 106 | env.bak/ 107 | venv.bak/ 108 | 109 | # Spyder project settings 110 | .spyderproject 111 | .spyproject 112 | 113 | # Rope project settings 114 | .ropeproject 115 | 116 | # mkdocs documentation 117 | /site 118 | 119 | # mypy 120 | .mypy_cache/ 121 | .dmypy.json 122 | dmypy.json 123 | 124 | # Jetbrains 125 | .idea 126 | 127 | # Pyre type checker 128 | .pyre/ 129 | -------------------------------------------------------------------------------- /htof/test/test_sky_path.py: -------------------------------------------------------------------------------- 1 | import numpy as np 2 | from astropy.time import Time 3 | from astropy import units 4 | 5 | from htof.sky_path import earth_ephemeris, earth_sun_l2_ephemeris, epoch_topocentric_coordinates, parallactic_motion 6 | 7 | 8 | def test_earth_ephemeris(): 9 | perihelion, aphelion = Time(['2019-01-02T15:30:00.00', '2019-07-04T01:40:00'], format='isot', scale='utc') 10 | assert np.allclose(np.sum(earth_ephemeris([perihelion.jyear, aphelion.jyear])**2, axis=0), 11 | [0.9832730, 1.0166664], atol=0.004) 12 | 13 | 14 | def test_earth_sun_l2_ephemeris(): 15 | t = Time('2019-01-02T15:30:00.00', format='isot', scale='utc') 16 | assert np.allclose(np.sqrt(np.sum(earth_ephemeris(t)**2)) * 1.511 / 1.496, 17 | np.sqrt(np.sum(earth_sun_l2_ephemeris(t)**2))) 18 | 19 | 20 | def test_epoch_topocentric_coordinates(): 21 | alphadeg = np.random.random() * 360 - 180 # random float between -180 and 180 22 | deltadeg = np.random.random() * 180 - 90 # random float between -90 and 90 23 | mura = 0 # mas/yr 24 | parallax = 1 # mas 25 | mudec = 0 # mas/yr 26 | vrad = 0 # km/s 27 | refepoch = Time(1991.25, format='decimalyear', scale='tcb').jyear 28 | times = np.linspace(refepoch - 1, refepoch + 1, num=100) 29 | 30 | # alpha and delta are the radian values of the stars central coordinate on the sky. 31 | alpha = (alphadeg * units.degree).to(units.rad).value 32 | delta = (deltadeg * units.degree).to(units.rad).value 33 | 34 | f_ephem = earth_ephemeris 35 | ra, dec = epoch_topocentric_coordinates(alpha, delta, parallax, mura, mudec, vrad, times, refepoch, f_ephem)[:2] 36 | ra2, dec2 = epoch_topocentric_coordinates(alpha, delta, 2 * parallax, mura, mudec, vrad, times, refepoch, f_ephem)[:2] 37 | assert np.allclose([ra2 - alpha, dec2 - delta], 2 * np.array([ra - alpha, dec - delta]), rtol=1E-5) 38 | 39 | 40 | def test_parallactic_motion(): 41 | alphadeg = 20 42 | deltadeg = 20 43 | parallax = 1000 # mas 44 | refepoch = Time(1991.25, format='decimalyear', scale='tcb').jyear 45 | times = np.linspace(refepoch - 1, refepoch + 1, num=100) 46 | ra, dec = parallactic_motion(times, alphadeg, deltadeg, 'degree', refepoch, earth_ephemeris, parallax) 47 | ra2, dec2 = parallactic_motion(times, alphadeg, deltadeg, 'degree', refepoch, earth_ephemeris, 2 * parallax) 48 | assert np.allclose([ra2, dec2], 2 * np.array([ra, dec]), rtol=1E-5) 49 | -------------------------------------------------------------------------------- /htof/test/test_utils_ftp.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | import mock 3 | import shutil 4 | import tempfile 5 | import os 6 | import glob 7 | from htof.utils.ftp import download_and_save_hip21_data_to 8 | 9 | 10 | class TestFTP: 11 | def test_oninvalid_hipid(self): 12 | with pytest.raises(RuntimeError): 13 | download_and_save_hip21_data_to(2222222222, outpath='') 14 | 15 | @mock.patch('htof.utils.ftp.FTP_TLS', autospec=True) 16 | def test_successful_ftp(self, mock_ftp): 17 | with tempfile.TemporaryDirectory() as tmp_dir: 18 | outpath = os.path.join(tmp_dir, 'H000581.d') 19 | mock_ftp.return_value = MockFTP(login_error=False, outpath=outpath) 20 | download_and_save_hip21_data_to(581, outpath) 21 | assert os.path.exists(outpath) 22 | 23 | @mock.patch('htof.utils.ftp.FTP_TLS', autospec=True) 24 | def test_on_login_error(self, mock_ftp): 25 | mock_ftp.return_value = MockFTP(login_error=True) 26 | with pytest.raises(RuntimeError): 27 | download_and_save_hip21_data_to(581, outpath='') 28 | 29 | @mock.patch('htof.utils.ftp.FTP_TLS', autospec=True) 30 | def test_on_retrbinary_error(self, mock_ftp): 31 | with tempfile.TemporaryDirectory() as tmp_dir: 32 | outpath = os.path.join(tmp_dir, 'H000581.d') 33 | mock_ftp.return_value = MockFTP(login_error=False, outpath=outpath) 34 | with pytest.raises(RuntimeError): 35 | # hip 10 is a file that DOES NOT exist in 'htof/test/data_for_tests/Hip21/IntermediateData' 36 | # if H000010.d is ever added to 'htof/test/data_for_tests/Hip21/IntermediateData', then this 37 | # test will need to change to another hip id. 38 | download_and_save_hip21_data_to(10, outpath=outpath) 39 | 40 | 41 | class MockFTP(object): 42 | fake_server_dir = 'htof/test/data_for_tests/Hip21/IntermediateData' 43 | 44 | def __init__(self, login_error=False, outpath=''): 45 | self.login_error = login_error 46 | self.outpath = outpath 47 | 48 | def retrbinary(self, filepath, *args, **kwargs): 49 | basename = os.path.basename(filepath.split('RETR ')[1]) 50 | remote_filepaths = glob.glob(os.path.join(self.fake_server_dir, basename)) 51 | if len(remote_filepaths) == 0: 52 | raise RuntimeError('File not found.') 53 | return shutil.copyfile(remote_filepaths[0], self.outpath) 54 | 55 | def login(self, username, password): 56 | if self.login_error is False: 57 | pass 58 | else: 59 | raise RuntimeError('Error') 60 | 61 | def prot_p(self): 62 | pass 63 | 64 | def quit(self): 65 | pass 66 | 67 | -------------------------------------------------------------------------------- /htof/test/data_for_tests/Hip21/IntermediateData/H021000.d: -------------------------------------------------------------------------------- 1 | # This file contains residual records, extracted from the Hipparcos 2 2 | # Interactive Data Access Tool (2014). For more information, see: 3 | # https://www.cosmos.esa.int/web/hipparcos/interactive-data-access 4 | # https://www.cosmos.esa.int/web/hipparcos/catalogues 5 | # 6 | # HIP MCE NRES NC isol_n SCE F2 F1 7 | # 21000 20947 41 1 5 0 15.15 0 8 | # Hp B-V VarAnn NOB NR 9 | # 9.9710 0.600 0 31 0 10 | # RAdeg DEdeg Plx pm_RA pm_DE e_RA e_DE e_Plx e_pmRA e_pmDE dpmRA dpmDE e_dpmRA e_dpmDE ddpmRA ddpmDE e_ddpmRA e_ddpmDE upsRA upsDE e_upsRA e_upsDE var 11 | # 67.55216598 5.29852743 93.67 97.46 119.01 7.91 5.83 7.62 9.86 7.07 --- --- --- --- --- --- --- --- --- --- --- --- --- 12 | # 13 | # IORB EPOCH PARF CPSI SPSI RES SRES 14 | 171 -1.1983 0.3670 -0.7460 0.6659 0.59 6.19 15 | 171 -1.1983 0.3648 -0.7439 0.6682 -9.39 5.76 16 | 171 -1.1983 0.3636 -0.7424 0.6699 -2.51 4.82 17 | 172 -1.1971 0.3603 -0.7353 0.6777 0.31 6.77 18 | 211 -1.1495 -0.5985 0.4232 0.9060 -31.71 6.12 19 | 211 -1.1495 -0.5973 0.4222 0.9065 -7.81 5.58 20 | 211 -1.1495 -0.6009 0.4263 0.9046 26.16 5.85 21 | 211 -1.1495 -0.6004 0.4259 0.9048 -26.99 5.38 22 | 578 -0.7035 -0.3041 0.0001 -1.0000 -34.21 4.78 23 | 578 -0.7035 -0.3036 0.0009 -1.0000 -28.12 4.91 24 | 609 -0.6658 0.5417 0.8027 -0.5963 20.90 4.76 25 | 683 -0.5759 -0.6833 -0.5749 -0.8182 10.79 7.74 26 | 683 -0.5759 -0.6827 -0.5743 -0.8186 13.73 5.23 27 | 1055 -0.1238 0.6560 -0.8099 0.5866 8.39 8.22 28 | 1055 -0.1238 0.6556 -0.8095 0.5871 7.62 7.74 29 | 1055 -0.1238 0.6544 -0.8086 0.5884 4.87 5.41 30 | 1055 -0.1238 0.6539 -0.8081 0.5891 7.03 7.02 31 | 1122 -0.0424 -0.5946 0.5916 0.8062 -15.71 5.87 32 | 1122 -0.0424 -0.5934 0.5901 0.8073 26.68 5.80 33 | 1122 -0.0424 -0.5926 0.5891 0.8081 -16.30 6.69 34 | 1122 -0.0424 -0.5926 0.5891 0.8081 42.52 6.14 35 | 1158 0.0013 0.3811 -0.4234 0.9059 -38.38 9.95 36 | 1158 0.0013 0.3808 -0.4234 0.9060 2.04 6.74 37 | 1158 0.0013 0.3847 -0.4278 0.9039 -45.05 7.13 38 | 1158 0.0013 0.3836 -0.4269 0.9043 6.37 5.97 39 | 1462 0.3707 -0.6524 -0.4747 -0.8802 -0.40 5.94 40 | 1462 0.3707 -0.6517 -0.4739 -0.8806 -38.79 8.10 41 | 1462 0.3707 -0.6521 -0.4746 -0.8802 -3.97 7.17 42 | 1462 0.3707 -0.6508 -0.4728 -0.8812 -7.27 6.59 43 | 1463 0.3718 -0.6500 -0.4724 -0.8814 4.45 6.88 44 | 1524 0.4461 0.6548 0.7328 -0.6804 2.18 6.87 45 | 1524 0.4461 0.6548 0.7329 -0.6804 -43.52 7.13 46 | 1524 0.4461 0.6539 0.7319 -0.6814 7.90 5.97 47 | 1524 0.4461 0.6525 0.7307 -0.6828 1.12 5.94 48 | 1836 0.8250 0.5022 -0.7962 0.6051 -81.97 5.54 49 | 1837 0.8261 0.5023 -0.7935 0.6086 -27.31 8.10 50 | 1837 0.8261 0.4999 -0.7916 0.6110 -151.23 8.17 51 | 1887 0.8869 -0.6664 0.5293 0.8485 -12.49 7.17 52 | 1887 0.8869 -0.6678 0.5309 0.8475 -15.82 6.59 53 | 1887 0.8869 -0.6681 0.5312 0.8473 -4.11 6.88 54 | 1887 0.8869 -0.6682 0.5314 0.8471 -6.38 6.87 55 | -------------------------------------------------------------------------------- /htof/test/data_for_tests/Hip2/IntermediateData/HIP072477.d: -------------------------------------------------------------------------------- 1 | 72477 6699 64 1 95 0 5.13 0 2 | 178 -1.190 -0.601 -0.7677 -0.6408 -0.31 9.39 3 | 178 -1.190 -0.600 -0.7670 -0.6416 -14.17 9.64 4 | 178 -1.190 -0.601 -0.7682 -0.6402 -5.03 9.79 5 | 178 -1.190 -0.599 -0.7662 -0.6425 -9.14 8.66 6 | 230 -1.127 0.671 0.3836 -0.9235 0.87 8.09 7 | 230 -1.127 0.670 0.3823 -0.9240 6.67 8.84 8 | 284 -1.061 -0.537 -0.9249 -0.3802 16.53 7.64 9 | 284 -1.061 -0.536 -0.9250 -0.3800 11.43 8.46 10 | 284 -1.061 -0.533 -0.9231 -0.3846 7.50 8.69 11 | 284 -1.061 -0.534 -0.9232 -0.3844 -13.48 8.63 12 | 553 -0.734 0.418 -0.4646 0.8855 0.01 7.20 13 | 553 -0.734 0.413 -0.4601 0.8879 -27.44 7.47 14 | 553 -0.734 0.415 -0.4610 0.8874 -19.65 8.16 15 | 553 -0.734 0.417 -0.4650 0.8853 -2.83 6.49 16 | 599 -0.678 -0.634 0.7874 0.6165 3.62 8.53 17 | 599 -0.678 -0.635 0.7879 0.6158 -15.28 14.25 18 | 664 -0.599 0.670 -0.3237 0.9462 23.90 7.24 19 | 664 -0.599 0.670 -0.3236 0.9462 12.41 6.31 20 | 664 -0.599 0.669 -0.3229 0.9464 8.04 7.31 21 | 664 -0.599 0.669 -0.3227 0.9465 16.05 7.93 22 | 962 -0.237 -0.394 -0.4974 -0.8675 9.41 11.46 23 | 962 -0.237 -0.399 -0.5023 -0.8647 4.14 11.07 24 | 962 -0.237 -0.391 -0.4937 -0.8697 -14.55 8.15 25 | 962 -0.237 -0.396 -0.4989 -0.8667 17.70 8.15 26 | 962 -0.237 -0.392 -0.4940 -0.8695 9.29 10.39 27 | 996 -0.195 0.580 0.4957 -0.8685 -1.05 8.28 28 | 996 -0.195 0.578 0.4924 -0.8704 23.59 11.25 29 | 996 -0.195 0.582 0.4986 -0.8669 12.51 11.41 30 | 996 -0.195 0.577 0.4913 -0.8710 3.56 8.27 31 | 996 -0.195 0.582 0.4969 -0.8678 -11.73 9.66 32 | 996 -0.195 0.581 0.4955 -0.8686 -3.27 8.58 33 | 1064 -0.113 -0.661 -0.9051 -0.4251 -3.20 9.37 34 | 1064 -0.113 -0.662 -0.9055 -0.4242 13.06 7.73 35 | 1064 -0.113 -0.663 -0.9061 -0.4231 2.08 8.54 36 | 1064 -0.113 -0.663 -0.9062 -0.4230 9.69 6.96 37 | 1442 0.346 0.678 -0.4563 0.8898 -15.33 7.02 38 | 1442 0.346 0.677 -0.4545 0.8908 -0.47 7.44 39 | 1442 0.346 0.679 -0.4568 0.8895 -14.56 6.85 40 | 1442 0.346 0.680 -0.4586 0.8886 -8.15 8.57 41 | 1549 0.476 0.406 0.1341 0.9910 20.75 7.73 42 | 1549 0.476 0.402 0.1398 0.9902 10.56 8.07 43 | 1549 0.476 0.402 0.1387 0.9903 25.96 9.28 44 | 1549 0.476 0.406 0.1337 0.9910 31.93 14.32 45 | 1845 0.836 -0.652 -0.8341 -0.5516 -22.08 10.73 46 | 1845 0.836 -0.653 -0.8350 -0.5502 15.79 8.45 47 | 1845 0.836 -0.653 -0.8348 -0.5506 4.74 11.91 48 | 1906 0.910 0.620 0.2487 -0.9686 -0.83 9.91 49 | 1906 0.910 0.620 0.2493 -0.9684 -9.20 12.38 50 | 1906 0.910 0.624 0.2549 -0.9670 3.41 11.17 51 | 1906 0.910 0.625 0.2557 -0.9668 -7.80 9.92 52 | 1906 0.910 0.623 0.2528 -0.9675 -2.92 11.01 53 | 1906 0.910 0.622 0.2522 -0.9677 12.81 8.89 54 | 1951 0.965 -0.407 -0.9086 -0.4176 -5.53 8.90 55 | 1951 0.965 -0.414 -0.9126 -0.4089 -14.31 9.12 56 | 1951 0.965 -0.410 -0.9104 -0.4138 -17.71 11.17 57 | 1951 0.965 -0.411 -0.9104 -0.4138 10.76 9.64 58 | 2220 1.291 0.547 -0.4999 0.8661 -3.27 13.47 59 | 2220 1.291 0.547 -0.5003 0.8659 -1.72 11.47 60 | 2221 1.293 0.543 -0.4893 0.8721 -5.60 12.56 61 | 2711 1.887 -0.663 -0.9054 -0.4246 -0.28 10.48 62 | 2711 1.887 -0.663 -0.9053 -0.4247 6.91 8.98 63 | 2711 1.887 -0.664 -0.9059 -0.4234 -10.83 10.63 64 | 2711 1.887 -0.662 -0.9045 -0.4266 19.33 9.21 65 | 2711 1.887 -0.662 -0.9048 -0.4258 4.38 10.40 66 | -------------------------------------------------------------------------------- /htof/test/data_for_tests/Hip2/IntermediateData/HIP078999.d: -------------------------------------------------------------------------------- 1 | 78999 13205 64 1 5 0 -0.13 0 2 | 574 -0.708 0.383 -0.0951 0.9955 2.40 5.31 3 | 574 -0.708 0.390 -0.1044 0.9945 -12.16 6.01 4 | 574 -0.708 0.390 -0.1050 0.9945 9.95 6.22 5 | 574 -0.708 0.386 -0.0996 0.9950 1.28 6.55 6 | 574 -0.708 0.388 -0.1024 0.9947 -5.01 6.52 7 | 574 -0.708 0.383 -0.0947 0.9955 -5.31 5.67 8 | 574 -0.708 0.379 -0.0899 0.9959 6.04 5.25 9 | 574 -0.708 0.380 -0.0902 0.9959 13.44 8.02 10 | 611 -0.663 -0.608 0.8292 0.5589 3.32 5.55 11 | 611 -0.663 -0.605 0.8273 0.5618 -4.18 7.01 12 | 611 -0.663 -0.605 0.8271 0.5621 -2.68 7.89 13 | 681 -0.578 0.668 -0.5521 0.8337 -5.66 6.21 14 | 681 -0.578 0.669 -0.5533 0.8330 2.91 5.71 15 | 681 -0.578 0.670 -0.5537 0.8327 -3.06 6.02 16 | 681 -0.578 0.668 -0.5516 0.8341 2.61 4.81 17 | 964 -0.234 0.103 -0.2974 -0.9548 6.81 6.00 18 | 964 -0.234 0.102 -0.2983 -0.9545 -4.46 5.86 19 | 964 -0.234 0.098 -0.3047 -0.9525 -11.18 5.90 20 | 964 -0.234 0.098 -0.3045 -0.9525 -2.51 5.86 21 | 964 -0.234 0.090 -0.3165 -0.9486 -0.80 6.05 22 | 964 -0.234 0.093 -0.3117 -0.9502 -5.22 5.85 23 | 964 -0.234 0.093 -0.3111 -0.9504 8.43 5.55 24 | 965 -0.233 0.127 -0.2639 -0.9645 4.29 6.04 25 | 965 -0.233 0.117 -0.2772 -0.9608 1.20 5.60 26 | 965 -0.233 0.126 -0.2638 -0.9646 -0.95 5.38 27 | 965 -0.233 0.121 -0.2713 -0.9625 -0.43 5.68 28 | 965 -0.233 0.116 -0.2775 -0.9607 -4.47 5.83 29 | 965 -0.233 0.121 -0.2709 -0.9626 -4.62 5.55 30 | 967 -0.231 0.168 -0.2024 -0.9793 -0.91 5.95 31 | 967 -0.231 0.159 -0.2146 -0.9767 4.61 5.96 32 | 967 -0.231 0.169 -0.2022 -0.9794 1.66 5.54 33 | 967 -0.231 0.164 -0.2086 -0.9780 -6.17 5.41 34 | 967 -0.231 0.174 -0.1948 -0.9809 -4.31 5.95 35 | 967 -0.231 0.163 -0.2090 -0.9779 12.38 5.47 36 | 967 -0.231 0.173 -0.1961 -0.9806 4.27 5.88 37 | 968 -0.229 0.198 -0.1599 -0.9871 1.12 5.79 38 | 968 -0.229 0.187 -0.1744 -0.9847 0.12 5.78 39 | 968 -0.229 0.197 -0.1606 -0.9870 -7.25 5.85 40 | 968 -0.229 0.187 -0.1751 -0.9845 3.81 6.03 41 | 968 -0.229 0.191 -0.1683 -0.9857 4.11 7.07 42 | 968 -0.229 0.193 -0.1673 -0.9859 4.44 5.73 43 | 1053 -0.126 -0.669 -0.8213 -0.5705 5.19 6.29 44 | 1053 -0.126 -0.668 -0.8205 -0.5717 -9.81 6.34 45 | 1125 -0.039 0.518 0.5290 -0.8486 5.83 5.76 46 | 1125 -0.039 0.516 0.5273 -0.8497 -6.20 5.16 47 | 1126 -0.038 0.507 0.5207 -0.8537 -1.76 6.41 48 | 1126 -0.038 0.504 0.5172 -0.8559 -1.19 6.92 49 | 1126 -0.038 0.507 0.5215 -0.8533 2.35 6.26 50 | 1154 -0.004 -0.273 -0.3329 -0.9430 -2.11 5.76 51 | 1154 -0.004 -0.278 -0.3378 -0.9412 9.14 6.31 52 | 1154 -0.004 -0.282 -0.3436 -0.9391 -5.09 5.44 53 | 1154 -0.004 -0.279 -0.3390 -0.9408 2.42 5.62 54 | 1154 -0.004 -0.281 -0.3427 -0.9394 -2.34 5.39 55 | 1154 -0.004 -0.274 -0.3324 -0.9431 -0.33 5.84 56 | 1154 -0.004 -0.285 -0.3478 -0.9376 8.86 5.38 57 | 1460 0.368 0.672 -0.4786 0.8780 -1.20 5.42 58 | 1460 0.368 0.672 -0.4788 0.8779 0.71 6.06 59 | 1835 0.824 -0.555 -0.8200 -0.5723 -9.60 5.69 60 | 1835 0.824 -0.554 -0.8192 -0.5735 -0.34 6.84 61 | 1889 0.889 0.675 0.5321 -0.8467 4.94 5.74 62 | 1889 0.889 0.674 0.5314 -0.8471 -10.19 5.90 63 | 1939 0.950 -0.556 -0.6708 -0.7417 8.46 6.92 64 | 1939 0.950 -0.558 -0.6732 -0.7394 -0.57 6.98 65 | 1939 0.950 -0.556 -0.6709 -0.7416 2.21 6.49 66 | -------------------------------------------------------------------------------- /htof/test/data_for_tests/Hip1/IntermediateData/46871.txt: -------------------------------------------------------------------------------- 1 | IH1 : 46871 Hipparcos Catalogue (HIP) identifier 2 | IH2 : 8.68 Provisional Hp magnitude used for the merging (mag) 3 | IH3 : 143.27319106 Right ascension alpha (deg) 4 | IH4 : 4.17159931 Declination delta (deg) 5 | IH5 : 14.85 Trigonometric parallax pi (mas) 6 | IH6 : 49.71 Proper motion in right ascension mu_alpha* (mas/year) 7 | IH7 : -81.94 Proper motion in declination mu_delta (mas/year) 8 | IH8 : 7 Code for adopted solution (5, 7, 9, C, O, V, X, -) 9 | IH9 : 40 Number of following abscissae records, N_A 10 | ABCISSAE 11 | A1 | |IA3 |IA4 |IA5 |IA6 |IA7 |IA8 |IA9 |IA10 12 | 519|F| 0.0397| 0.9992| 0.3312|-0.0308|-0.7746| 0.55| 1.96|0.624 13 | 519|N| 0.0396| 0.9992| 0.3314|-0.0307|-0.7745| -1.18| 2.03|0.624 14 | 818|F|-0.8440|-0.5363|-0.6345| 0.3477| 0.2210| 8.87| 2.37|0.659 15 | 818|N|-0.8441|-0.5362|-0.6346| 0.3476| 0.2208| 9.53| 2.41|0.659 16 | 877|F| 0.3543|-0.9349| 0.6427|-0.1203| 0.3175| 16.33| 8.36|0.870 17 | 877|N| 0.3552|-0.9350| 0.6437|-0.1208| 0.3180| 19.16| 9.13|0.870 18 | 878|F| 0.3402|-0.9403| 0.6319|-0.1154| 0.3189| 1.48| 3.36|0.757 19 | 878|N| 0.3411|-0.9401| 0.6326|-0.1156| 0.3186| 7.04| 4.12|0.757 20 | 921|F|-0.8281|-0.5606|-0.4287| 0.2376| 0.1609| 7.09| 2.17|0.675 21 | 921|N|-0.8282|-0.5605|-0.4280| 0.2374| 0.1606| 5.64| 2.78|0.675 22 | 1193|F|-0.3748| 0.9271| 0.5334|-0.0166| 0.0410| -1.33| 2.32|0.695 23 | 1193|N|-0.3745| 0.9273| 0.5325|-0.0164| 0.0407| 6.96| 2.97|0.695 24 | 1246|F| 0.8765| 0.4813|-0.6850| 0.0951| 0.0522| -3.36| 2.55|0.712 25 | 1246|N| 0.8765| 0.4815|-0.6849| 0.0949| 0.0521| -3.28| 2.80|0.712 26 | 1302|F|-0.2810| 0.9597| 0.5959|-0.0495| 0.1691| 14.05| 6.25|0.350 27 | 1302|N|-0.2816| 0.9595| 0.5965|-0.0497| 0.1692| 10.18| 3.52|0.350 28 | 1601|F|-0.6894|-0.7242|-0.4374|-0.3718|-0.3906| -3.25| 6.01|0.831 29 | 1601|N|-0.6895|-0.7245|-0.4376|-0.3721|-0.3910| -4.32| 6.72|0.831 30 | 1642|F| 0.4200|-0.9075| 0.6414| 0.2475|-0.5348| 0.74| 2.49|0.713 31 | 1642|N| 0.4197|-0.9077| 0.6412| 0.2474|-0.5351| 0.99| 2.87|0.713 32 | 1704|F|-0.8875|-0.4607|-0.6313|-0.5898|-0.3062| 7.64| 2.45|0.705 33 | 1704|N|-0.8876|-0.4607|-0.6311|-0.5900|-0.3062| 5.26| 2.89|0.705 34 | 1979|F|-0.0835| 0.9964| 0.1912|-0.0834| 0.9954| 5.33| 4.05|0.742 35 | 1979|N|-0.0840| 0.9965| 0.1908|-0.0839| 0.9952| 9.54| 4.48|0.742 36 | 1980|F|-0.0523| 0.9986| 0.1705|-0.0523| 0.9984| -3.06| 2.55|0.687 37 | 1980|N|-0.0529| 0.9986| 0.1712|-0.0529| 0.9985| -2.39| 2.84|0.687 38 | 2006|F| 0.7162| 0.6979|-0.4661| 0.7386| 0.7198| 0.06| 3.22|0.728 39 | 2006|N| 0.7148| 0.6993|-0.4646| 0.7373| 0.7213| -1.69| 3.89|0.728 40 | 2166|F| 0.7656| 0.6433|-0.3205| 0.9385| 0.7885| 6.68| 2.20|0.624 41 | 2166|N| 0.7652| 0.6438|-0.3201| 0.9379| 0.7891| 6.61| 3.12|0.624 42 | 2167|F| 0.7445| 0.6676|-0.2942| 0.9132| 0.8189| 7.27| 2.59|0.646 43 | 2167|N| 0.7444| 0.6678|-0.2934| 0.9134| 0.8193| 6.64| 2.66|0.646 44 | 2179|F| 0.4323| 0.9017| 0.0323| 0.5368| 1.1196| 3.59| 2.06|0.617 45 | 2179|N| 0.4331| 0.9014| 0.0316| 0.5377| 1.1191| 3.26| 2.63|0.617 46 | 2180|F| 0.4034| 0.9150| 0.0572| 0.5013| 1.1371| 6.21| 2.55|0.200 47 | 2180|N| 0.4156| 0.9095| 0.0469| 0.5164| 1.1300| 16.93| 10.13|0.200 48 | 2485|F|-0.8744|-0.4852|-0.6743|-1.4107|-0.7828| -21.08| 2.86|0.654 49 | 2485|N|-0.8740|-0.4860|-0.6738|-1.4099|-0.7839| -18.88| 3.05|0.654 50 | 2559|F| 0.1688|-0.9856| 0.4866| 0.2874|-1.6782| -4.22| 3.29|0.559 51 | 2559|N| 0.1697|-0.9855| 0.4872| 0.2889|-1.6780| -4.42| 5.25|0.559 52 | -------------------------------------------------------------------------------- /htof/test/data_for_tests/Hip1/IntermediateData/004391.txt: -------------------------------------------------------------------------------- 1 | IH1 : 4391 Hipparcos Catalogue (HIP) identifier 2 | IH2 : 9.73 Provisional Hp magnitude used for the merging (mag) 3 | IH3 : 14.06349884 Right ascension alpha (deg) 4 | IH4 : -9.80787221 Declination delta (deg) 5 | IH5 : 1.23 Trigonometric parallax pi (mas) 6 | IH6 : 2.66 Proper motion in right ascension mu_alpha* (mas/year) 7 | IH7 : -18.50 Proper motion in declination mu_delta (mas/year) 8 | IH8 : 5 Code for adopted solution (5, 7, 9, C, O, V, X, -) 9 | IH9 : 43 Number of following abscissae records, N_A 10 | ABCISSAE 11 | A1 | |IA3 |IA4 |IA5 |IA6 |IA7 |IA8 |IA9 |IA10 12 | 88|F| 0.2172| 0.9761|-0.6123|-0.2822|-1.2683| 0.26| 2.85|0.577 13 | 88|N| 0.2172| 0.9761|-0.6123|-0.2821|-1.2682| 0.10| 2.32|0.577 14 | 444|F| 0.1997|-0.9798|-0.3198|-0.1730| 0.8487| 2.01| 2.90|0.733 15 | 444|N| 0.2005|-0.9797|-0.3194|-0.1737| 0.8487| 3.99| 3.53|0.733 16 | 476|F| 0.9214|-0.3884| 0.5537|-0.7621| 0.3213| -2.03| 5.84|0.773 17 | 476|N| 0.9209|-0.3898| 0.5523|-0.7618| 0.3224| -1.37| 6.14|0.773 18 | 550|F|-0.3531|-0.9355|-0.6852| 0.2604| 0.6898| -3.85| 3.88|0.702 19 | 550|N|-0.3531|-0.9356|-0.6855| 0.2604| 0.6900| -2.63| 3.79|0.702 20 | 930|F|-0.9278| 0.3728| 0.6594| 0.2555|-0.1027| 2.50| 2.83|0.740 21 | 930|N|-0.9280| 0.3728| 0.6592| 0.2558|-0.1028| 0.06| 3.09|0.740 22 | 998|F| 0.3437| 0.9390|-0.5578|-0.0663|-0.1811| 6.39| 5.82|0.833 23 | 998|N| 0.3449| 0.9387|-0.5587|-0.0665|-0.1810| -1.28| 7.27|0.833 24 | 1030|F|-0.6071| 0.7946| 0.3338| 0.0933|-0.1221| 11.02| 4.35|0.744 25 | 1030|N|-0.6068| 0.7950| 0.3334| 0.0936|-0.1226| 7.64| 4.45|0.744 26 | 1031|F|-0.6278| 0.7782| 0.3530| 0.0962|-0.1192| -2.55| 3.14|0.745 27 | 1031|N|-0.6274| 0.7788| 0.3527| 0.0960|-0.1192| -2.69| 3.35|0.745 28 | 1328|F|-0.2568|-0.9663|-0.6584|-0.0535|-0.2013| 1.36| 4.44|0.791 29 | 1328|N|-0.2568|-0.9666|-0.6588|-0.0534|-0.2009| 4.52| 4.91|0.791 30 | 1329|F|-0.2499|-0.9681|-0.6529|-0.0521|-0.2020| 6.52| 4.12| 31 | 1392|F| 0.8747|-0.4846| 0.6492| 0.2499|-0.1384| 0.51| 3.00|0.755 32 | 1392|N| 0.8752|-0.4837| 0.6501| 0.2501|-0.1382| 0.27| 3.35|0.755 33 | 1438|F|-0.2721|-0.9623|-0.4252|-0.0929|-0.3287| -0.35| 2.89|0.755 34 | 1438|N|-0.2721|-0.9623|-0.4257|-0.0929|-0.3286| 1.50| 3.28|0.755 35 | 1712|F|-0.9171| 0.3987| 0.5202|-0.6185| 0.2689| -2.28| 2.47|0.688 36 | 1712|N|-0.9171| 0.3987| 0.5203|-0.6186| 0.2689| -2.24| 3.42|0.688 37 | 1763|F| 0.3162| 0.9487|-0.6691| 0.2329| 0.6987| -1.70| 2.60|0.705 38 | 1763|N| 0.3167| 0.9485|-0.6697| 0.2332| 0.6985| 1.14| 2.83|0.705 39 | 1816|F|-0.8449| 0.5347| 0.5900|-0.6763| 0.4280| -1.21| 3.55|0.763 40 | 1816|N|-0.8450| 0.5349| 0.5901|-0.6766| 0.4283| -3.18| 4.04|0.763 41 | 2110|F| 0.0000|-0.9999|-0.4650| 0.0001|-1.1572| -2.12| 3.27|0.675 42 | 2110|N| 0.0000|-1.0001|-0.4653| 0.0000|-1.1578| -3.23| 3.19|0.675 43 | 2154|F| 0.9304|-0.3662| 0.6631| 1.1265|-0.4433| 2.97| 5.36|0.799 44 | 2154|N| 0.9292|-0.3696| 0.6609| 1.1253|-0.4476| -1.09| 6.08|0.799 45 | 2219|F|-0.3660|-0.9306|-0.6415|-0.4720|-1.2003| 0.55| 3.65|0.714 46 | 2219|N|-0.3658|-0.9307|-0.6410|-0.4719|-1.2006| -4.40| 4.62|0.714 47 | 2499|F|-0.7771| 0.6294| 0.1847|-1.2669| 1.0261| 1.95| 3.84|0.710 48 | 2499|N|-0.7771| 0.6294| 0.1842|-1.2668| 1.0261| 4.17| 4.71|0.710 49 | 2527|F| 0.0202| 0.9998|-0.4711| 0.0336| 1.6640| -9.91| 6.95|0.331 50 | 2527|N| 0.0052| 1.0000|-0.4601| 0.0086| 1.6642| -30.81| 13.90|0.331 51 | 2594|F|-0.3997| 0.9166|-0.0007|-0.6977| 1.6000| 1.14| 3.32|0.684 52 | 2594|N|-0.4006| 0.9163| 0.0003|-0.6992| 1.5994| 2.01| 3.67|0.684 53 | 2595|F|-0.3978| 0.9175|-0.0006|-0.6949| 1.6027| 2.32| 5.23|0.565 54 | 2595|N|-0.4033| 0.9151| 0.0051|-0.7044| 1.5985| 0.27| 8.22|0.565 55 | -------------------------------------------------------------------------------- /htof/test/data_for_tests/Hip1/IntermediateData/044801.txt: -------------------------------------------------------------------------------- 1 | IH1 : 44801 Hipparcos Catalogue (HIP) identifier 2 | IH2 : 7.83 Provisional Hp magnitude used for the merging (mag) 3 | IH3 : 136.94995265 Right ascension alpha (deg) 4 | IH4 : -9.85368471 Declination delta (deg) 5 | IH5 : 2.90 Trigonometric parallax pi (mas) 6 | IH6 : -10.91 Proper motion in right ascension mu_alpha* (mas/year) 7 | IH7 : 5.06 Proper motion in declination mu_delta (mas/year) 8 | IH8 : 5 Code for adopted solution (5, 7, 9, C, O, V, X, -) 9 | IH9 : 43 Number of following abscissae records, N_A 10 | ABCISSAE 11 | A1 | |IA3 |IA4 |IA5 |IA6 |IA7 |IA8 |IA9 |IA10 12 | 407|F|-0.4597| 0.8881| 0.6740| 0.4190|-0.8093| 0.52| 1.62|0.608 13 | 407|N|-0.4601| 0.8879| 0.6743| 0.4193|-0.8091| 0.03| 1.83|0.608 14 | 479|F| 0.9225| 0.3860|-0.5969|-0.7601|-0.3181| -1.65| 1.82|0.616 15 | 479|N| 0.9225| 0.3861|-0.5962|-0.7599|-0.3181| -0.25| 1.99|0.616 16 | 515|F| 0.1403| 0.9901| 0.4073|-0.1094|-0.7721| 0.31| 2.12|0.620 17 | 515|N| 0.1406| 0.9901| 0.4070|-0.1096|-0.7723| 1.97| 3.09|0.620 18 | 822|F|-0.8336|-0.5523|-0.6577| 0.3393| 0.2248| -4.78| 2.50|0.691 19 | 822|N|-0.8337|-0.5522|-0.6577| 0.3392| 0.2247| -1.62| 3.19|0.691 20 | 928|F|-0.9188|-0.3944|-0.4155| 0.2559| 0.1098| -3.14| 3.01|0.700 21 | 928|n|-0.9189|-0.3948|-0.4137| 0.2555| 0.1098| -10.18| 3.10|0.700 22 | 1186|F|-0.4964| 0.8681| 0.5341|-0.0175| 0.0307| -1.02| 2.28|0.668 23 | 1186|N|-0.4957| 0.8685| 0.5340|-0.0175| 0.0307| -1.71| 3.04|0.668 24 | 1241|F| 0.8656| 0.5007|-0.6832| 0.0888| 0.0513| -4.67| 2.38|0.677 25 | 1241|N| 0.8656| 0.5008|-0.6836| 0.0886| 0.0512| -0.75| 2.62|0.677 26 | 1296|F|-0.2084| 0.9779| 0.6124|-0.0353| 0.1656| -0.08| 2.62|0.683 27 | 1296|N|-0.2087| 0.9781| 0.6124|-0.0353| 0.1653| 3.83| 3.62|0.683 28 | 1297|F|-0.2180| 0.9758| 0.6202|-0.0370| 0.1658| -2.05| 2.92|0.676 29 | 1297|N|-0.2184| 0.9760| 0.6211|-0.0372| 0.1661| -0.86| 2.85|0.676 30 | 1603|F|-0.6655|-0.7463|-0.5300|-0.3609|-0.4048| -3.55| 2.46|0.688 31 | 1603|N|-0.6654|-0.7466|-0.5302|-0.3607|-0.4047| 0.26| 3.01|0.688 32 | 1648|F| 0.4610|-0.8874| 0.6635| 0.2752|-0.5297| -1.35| 2.27|0.635 33 | 1648|N| 0.4604|-0.8877| 0.6624| 0.2747|-0.5297| -2.93| 2.39|0.635 34 | 1709|F|-0.9199|-0.3922|-0.6114|-0.6172|-0.2631| 2.40| 2.16|0.647 35 | 1709|N|-0.9200|-0.3919|-0.6121|-0.6172|-0.2629| 0.37| 2.62|0.647 36 | 1969|F|-0.3771| 0.9262| 0.2318|-0.3720| 0.9137| -1.26| 1.84|0.607 37 | 1969|N|-0.3775| 0.9260| 0.2320|-0.3724| 0.9135| -1.35| 2.04|0.607 38 | 2001|F| 0.6151| 0.7884|-0.4887| 0.6309| 0.8087| 0.83| 2.38|0.653 39 | 2001|N| 0.6145| 0.7890|-0.4883| 0.6301| 0.8090| -3.77| 3.01|0.653 40 | 2002|F| 0.6364| 0.7713|-0.5081| 0.6532| 0.7916| -3.02| 2.21|0.634 41 | 2002|N| 0.6352| 0.7724|-0.5066| 0.6521| 0.7929| -1.90| 2.76|0.634 42 | 2076|N|-0.4018| 0.9159| 0.6858|-0.4486| 1.0225| -4.29| 4.08| 43 | 2156|F| 0.9202| 0.3914|-0.4496| 1.1169| 0.4750| 1.90| 2.32|0.604 44 | 2156|N| 0.9205| 0.3908|-0.4511| 1.1171| 0.4743| 0.95| 3.52|0.604 45 | 2157|F| 0.9116| 0.4110|-0.4306| 1.1071| 0.4992| 5.23| 4.28| 46 | 2179|F| 0.4351| 0.9003| 0.2156| 0.5404| 1.1181| -2.59| 2.42|0.643 47 | 2179|N| 0.4359| 0.9001| 0.2141| 0.5412| 1.1174| -3.52| 3.09|0.643 48 | 2180|F| 0.4096| 0.9123| 0.2380| 0.5089| 1.1336| -1.79| 2.55|0.200 49 | 2180|N| 0.4209| 0.9071| 0.2284| 0.5229| 1.1270| -11.39| 10.46|0.200 50 | 2490|F|-0.8781|-0.4785|-0.6775|-1.4218|-0.7747| -0.25| 4.43| 51 | 2565|F|-0.0171|-0.9998| 0.4700|-0.0293|-1.7101| -2.95| 2.08|0.571 52 | 2565|N|-0.0161|-0.9999| 0.4705|-0.0276|-1.7100| -2.20| 2.64|0.571 53 | 2566|F|-0.0438|-0.9990| 0.4513|-0.0750|-1.7092| -4.01| 3.62|0.676 54 | 2566|N|-0.0432|-0.9991| 0.4521|-0.0740|-1.7098| -2.98| 4.38|0.676 55 | -------------------------------------------------------------------------------- /htof/test/data_for_tests/Hip1/IntermediateData/5310.txt: -------------------------------------------------------------------------------- 1 | IH1 : 5310 Hipparcos Catalogue (HIP) identifier 2 | IH2 : 5.61 Provisional Hp magnitude used for the merging (mag) 3 | IH3 : 16.98795829 Right ascension alpha (deg) 4 | IH4 : 20.73932115 Declination delta (deg) 5 | IH5 : 20.23 Trigonometric parallax pi (mas) 6 | IH6 : 85.43 Proper motion in right ascension mu_alpha* (mas/year) 7 | IH7 : -85.81 Proper motion in declination mu_delta (mas/year) 8 | IH8 : 9 Code for adopted solution (5, 7, 9, C, O, V, X, -) 9 | IH9 : 50 Number of following abscissae records, N_A 10 | ABCISSAE 11 | A1 | |IA3 |IA4 |IA5 |IA6 |IA7 |IA8 |IA9 |IA10 12 | 66|F|-0.5075| 0.8616| 0.2368| 0.6728|-1.1422| -2.49| 1.62|0.419 13 | 66|N|-0.5078| 0.8616| 0.2372| 0.6733|-1.1424| 0.63| 1.51|0.419 14 | 91|F| 0.2944| 0.9557|-0.4669|-0.3814|-1.2380| -1.07| 3.00|0.478 15 | 91|N| 0.2923| 0.9563|-0.4650|-0.3787|-1.2389| -3.11| 2.36|0.478 16 | 164|N|-0.9172| 0.3985| 0.6699| 1.1069|-0.4809| -10.72| 2.02| 17 | 244|F|-0.1744| 0.9847|-0.3027| 0.1935|-1.0925| -1.89| 1.69|0.528 18 | 244|N|-0.1725| 0.9850|-0.3041| 0.1914|-1.0929| -5.97| 2.03|0.528 19 | 245|F|-0.2077| 0.9782|-0.2784| 0.2302|-1.0841| -1.40| 2.33|0.545 20 | 245|N|-0.2061| 0.9785|-0.2796| 0.2284|-1.0845| -1.00| 3.44|0.545 21 | 255|F|-0.5268| 0.8500|-0.0366| 0.5774|-0.9316| -7.65| 1.73|0.516 22 | 255|N|-0.5267| 0.8501|-0.0364| 0.5774|-0.9318| -3.90| 1.77|0.516 23 | 256|F|-0.5597| 0.8287|-0.0102| 0.6128|-0.9073| -5.42| 1.89|0.516 24 | 256|N|-0.5582| 0.8297|-0.0114| 0.6111|-0.9085| -2.30| 1.92|0.516 25 | 257|F|-0.5850| 0.8110| 0.0103| 0.6399|-0.8871| 1.16| 1.69|0.522 26 | 257|N|-0.5853| 0.8109| 0.0102| 0.6401|-0.8868| -0.77| 2.12|0.522 27 | 546|F|-0.3621|-0.9321|-0.6677| 0.2689| 0.6922| 7.87| 1.45|0.474 28 | 546|N|-0.3624|-0.9321|-0.6685| 0.2690| 0.6919| 7.18| 1.43|0.474 29 | 615|F| 0.9190|-0.3944| 0.6131|-0.6050| 0.2596| -3.08| 1.62|0.487 30 | 615|N| 0.9194|-0.3934| 0.6139|-0.6053| 0.2590| -0.52| 1.57|0.487 31 | 653|F| 0.0654|-0.9979|-0.3908|-0.0401| 0.6110| 3.19| 2.32|0.575 32 | 653|N| 0.0656|-0.9978|-0.3907|-0.0402| 0.6110| 0.22| 3.41|0.575 33 | 945|F|-0.8662| 0.4998| 0.6171| 0.2230|-0.1287| 4.09| 1.65|0.559 34 | 945|N|-0.8663| 0.4995| 0.6174| 0.2231|-0.1286| 4.41| 2.08|0.559 35 | 1002|F| 0.2918| 0.9564|-0.6497|-0.0550|-0.1803| -5.09| 1.85|0.556 36 | 1002|N| 0.2921| 0.9564|-0.6501|-0.0550|-0.1800| -6.43| 1.88|0.556 37 | 1048|F|-0.8884| 0.4590| 0.4610| 0.1175|-0.0607| 6.74| 1.65|0.557 38 | 1048|N|-0.8883| 0.4594| 0.4609| 0.1175|-0.0608| 5.80| 2.12|0.557 39 | 1325|N|-0.3008|-0.9537|-0.4957|-0.0615|-0.1949| 1.47| 3.54| 40 | 1376|F| 0.8965|-0.4429| 0.6788| 0.2390|-0.1181| -4.61| 1.94|0.562 41 | 1376|N| 0.8967|-0.4428| 0.6792| 0.2387|-0.1179| -6.48| 2.12|0.562 42 | 1435|F|-0.2256|-0.9742|-0.6217|-0.0763|-0.3293| 1.75| 1.68|0.570 43 | 1435|N|-0.2264|-0.9740|-0.6224|-0.0765|-0.3291| 1.38| 1.92|0.570 44 | 1729|F|-0.7015| 0.7126| 0.4127|-0.4877| 0.4954| 6.11| 1.89|0.553 45 | 1729|N|-0.7016| 0.7126| 0.4128|-0.4877| 0.4953| 1.30| 2.11|0.553 46 | 1767|F| 0.3612| 0.9325|-0.6132| 0.2677| 0.6911| 5.56| 1.73|0.523 47 | 1767|N| 0.3613| 0.9324|-0.6135| 0.2678| 0.6911| 5.19| 2.38|0.523 48 | 1830|F|-0.9198| 0.3920| 0.6374|-0.7526| 0.3208| 0.95| 2.36|0.521 49 | 1830|N|-0.9202| 0.3917| 0.6388|-0.7526| 0.3204| 4.44| 2.18|0.521 50 | 1831|F|-0.9239| 0.3823| 0.6443|-0.7563| 0.3130| 0.60| 1.90|0.540 51 | 1831|N|-0.9243| 0.3820| 0.6442|-0.7570| 0.3128| -1.69| 2.03|0.540 52 | 2113|F| 0.0818|-0.9966|-0.0838| 0.0950|-1.1574| -6.38| 1.80|0.525 53 | 2113|N| 0.0805|-0.9968|-0.0848| 0.0935|-1.1575| -6.23| 1.93|0.525 54 | 2114|F| 0.1120|-0.9937|-0.0633| 0.1302|-1.1549| -3.16| 1.86|0.503 55 | 2114|N| 0.1130|-0.9936|-0.0634| 0.1313|-1.1552| -3.42| 2.60|0.503 56 | 2132|F| 0.6454|-0.7638| 0.3656| 0.7646|-0.9049| 2.72| 2.19|0.549 57 | 2132|N| 0.6443|-0.7648| 0.3644| 0.7631|-0.9059| 7.77| 2.86|0.549 58 | 2133|F| 0.6684|-0.7438| 0.3883| 0.7924|-0.8818| 1.65| 1.69|0.491 59 | 2133|N| 0.6678|-0.7443| 0.3877| 0.7918|-0.8825| 0.84| 1.65|0.491 60 | 2647|F| 0.3014| 0.9534|-0.6578| 0.5455| 1.7256| -14.06| 2.76|0.545 61 | 2647|N| 0.3013| 0.9536|-0.6578| 0.5453| 1.7258| -10.94| 2.93|0.545 62 | -------------------------------------------------------------------------------- /htof/test/data_for_tests/MockServer/004391.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |For information on field definitions see 9 | Guide to Hipparcos Intermediate Data fields (pdf) 10 |
11 | Field Value Field Description
12 | IH1 : 4391 Hipparcos Catalogue (HIP) identifier
13 | IH2 : 9.73 Provisional Hp magnitude used for the merging (mag)
14 | IH3 : 14.06349884 Right ascension alpha (deg)
15 | IH4 : -9.80787221 Declination delta (deg)
16 | IH5 : 1.23 Trigonometric parallax pi (mas)
17 | IH6 : 2.66 Proper motion in right ascension mu_alpha* (mas/year)
18 | IH7 : -18.50 Proper motion in declination mu_delta (mas/year)
19 | IH8 : 5 Code for adopted solution (5, 7, 9, C, O, V, X, -)
20 | IH9 : 43 Number of following abscissae records, N_A
21 | ABCISSAE
22 | A1 | |IA3 |IA4 |IA5 |IA6 |IA7 |IA8 |IA9 |IA10
23 | 88|F| 0.2172| 0.9761|-0.6123|-0.2822|-1.2683| 0.26| 2.85|0.577
24 | 88|N| 0.2172| 0.9761|-0.6123|-0.2821|-1.2682| 0.10| 2.32|0.577
25 | 444|F| 0.1997|-0.9798|-0.3198|-0.1730| 0.8487| 2.01| 2.90|0.733
26 | 444|N| 0.2005|-0.9797|-0.3194|-0.1737| 0.8487| 3.99| 3.53|0.733
27 | 476|F| 0.9214|-0.3884| 0.5537|-0.7621| 0.3213| -2.03| 5.84|0.773
28 | 476|N| 0.9209|-0.3898| 0.5523|-0.7618| 0.3224| -1.37| 6.14|0.773
29 | 550|F|-0.3531|-0.9355|-0.6852| 0.2604| 0.6898| -3.85| 3.88|0.702
30 | 550|N|-0.3531|-0.9356|-0.6855| 0.2604| 0.6900| -2.63| 3.79|0.702
31 | 930|F|-0.9278| 0.3728| 0.6594| 0.2555|-0.1027| 2.50| 2.83|0.740
32 | 930|N|-0.9280| 0.3728| 0.6592| 0.2558|-0.1028| 0.06| 3.09|0.740
33 | 998|F| 0.3437| 0.9390|-0.5578|-0.0663|-0.1811| 6.39| 5.82|0.833
34 | 998|N| 0.3449| 0.9387|-0.5587|-0.0665|-0.1810| -1.28| 7.27|0.833
35 | 1030|F|-0.6071| 0.7946| 0.3338| 0.0933|-0.1221| 11.02| 4.35|0.744
36 | 1030|N|-0.6068| 0.7950| 0.3334| 0.0936|-0.1226| 7.64| 4.45|0.744
37 | 1031|F|-0.6278| 0.7782| 0.3530| 0.0962|-0.1192| -2.55| 3.14|0.745
38 | 1031|N|-0.6274| 0.7788| 0.3527| 0.0960|-0.1192| -2.69| 3.35|0.745
39 | 1328|F|-0.2568|-0.9663|-0.6584|-0.0535|-0.2013| 1.36| 4.44|0.791
40 | 1328|N|-0.2568|-0.9666|-0.6588|-0.0534|-0.2009| 4.52| 4.91|0.791
41 | 1329|F|-0.2499|-0.9681|-0.6529|-0.0521|-0.2020| 6.52| 4.12|
42 | 1392|F| 0.8747|-0.4846| 0.6492| 0.2499|-0.1384| 0.51| 3.00|0.755
43 | 1392|N| 0.8752|-0.4837| 0.6501| 0.2501|-0.1382| 0.27| 3.35|0.755
44 | 1438|F|-0.2721|-0.9623|-0.4252|-0.0929|-0.3287| -0.35| 2.89|0.755
45 | 1438|N|-0.2721|-0.9623|-0.4257|-0.0929|-0.3286| 1.50| 3.28|0.755
46 | 1712|F|-0.9171| 0.3987| 0.5202|-0.6185| 0.2689| -2.28| 2.47|0.688
47 | 1712|N|-0.9171| 0.3987| 0.5203|-0.6186| 0.2689| -2.24| 3.42|0.688
48 | 1763|F| 0.3162| 0.9487|-0.6691| 0.2329| 0.6987| -1.70| 2.60|0.705
49 | 1763|N| 0.3167| 0.9485|-0.6697| 0.2332| 0.6985| 1.14| 2.83|0.705
50 | 1816|F|-0.8449| 0.5347| 0.5900|-0.6763| 0.4280| -1.21| 3.55|0.763
51 | 1816|N|-0.8450| 0.5349| 0.5901|-0.6766| 0.4283| -3.18| 4.04|0.763
52 | 2110|F| 0.0000|-0.9999|-0.4650| 0.0001|-1.1572| -2.12| 3.27|0.675
53 | 2110|N| 0.0000|-1.0001|-0.4653| 0.0000|-1.1578| -3.23| 3.19|0.675
54 | 2154|F| 0.9304|-0.3662| 0.6631| 1.1265|-0.4433| 2.97| 5.36|0.799
55 | 2154|N| 0.9292|-0.3696| 0.6609| 1.1253|-0.4476| -1.09| 6.08|0.799
56 | 2219|F|-0.3660|-0.9306|-0.6415|-0.4720|-1.2003| 0.55| 3.65|0.714
57 | 2219|N|-0.3658|-0.9307|-0.6410|-0.4719|-1.2006| -4.40| 4.62|0.714
58 | 2499|F|-0.7771| 0.6294| 0.1847|-1.2669| 1.0261| 1.95| 3.84|0.710
59 | 2499|N|-0.7771| 0.6294| 0.1842|-1.2668| 1.0261| 4.17| 4.71|0.710
60 | 2527|F| 0.0202| 0.9998|-0.4711| 0.0336| 1.6640| -9.91| 6.95|0.331
61 | 2527|N| 0.0052| 1.0000|-0.4601| 0.0086| 1.6642| -30.81| 13.90|0.331
62 | 2594|F|-0.3997| 0.9166|-0.0007|-0.6977| 1.6000| 1.14| 3.32|0.684
63 | 2594|N|-0.4006| 0.9163| 0.0003|-0.6992| 1.5994| 2.01| 3.67|0.684
64 | 2595|F|-0.3978| 0.9175|-0.0006|-0.6949| 1.6027| 2.32| 5.23|0.565
65 | 2595|N|-0.4033| 0.9151| 0.0051|-0.7044| 1.5985| 0.27| 8.22|0.565
66 |
--------------------------------------------------------------------------------
/htof/test/data_for_tests/Hip21/IntermediateData/H072477.d:
--------------------------------------------------------------------------------
1 | # This file contains residual records, extracted from the Hipparcos 2
2 | # Interactive Data Access Tool (2014). For more information, see:
3 | # https://www.cosmos.esa.int/web/hipparcos/interactive-data-access
4 | # https://www.cosmos.esa.int/web/hipparcos/catalogues
5 | #
6 | # HIP MCE NRES NC isol_n SCE F2 F1
7 | # 72477 72235 64 1 95 0 5.14 0
8 | # Hp B-V VarAnn NOB NR
9 | # 10.2514 0.526 0 64 0
10 | # RAdeg DEdeg Plx pm_RA pm_DE e_RA e_DE e_Plx e_pmRA e_pmDE dpmRA dpmDE e_dpmRA e_dpmDE ddpmRA ddpmDE e_ddpmRA e_ddpmDE upsRA upsDE e_upsRA e_upsDE var
11 | # 222.29028621 -42.23894436 6.68 -41.92 -54.41 3.03 2.42 3.64 2.78 3.10 --- --- --- --- --- --- --- --- --- --- --- --- ---
12 | #
13 | # IORB EPOCH PARF CPSI SPSI RES SRES
14 | 178 -1.1898 -0.6011 -0.7682 -0.6402 -5.06 9.80
15 | 178 -1.1898 -0.6007 -0.7677 -0.6408 -0.20 9.39
16 | 178 -1.1898 -0.5998 -0.7670 -0.6416 -14.16 9.64
17 | 178 -1.1898 -0.5991 -0.7662 -0.6425 -9.02 8.65
18 | 230 -1.1265 0.6703 0.3823 -0.9240 6.60 8.81
19 | 230 -1.1265 0.6713 0.3836 -0.9235 0.90 8.09
20 | 284 -1.0609 -0.5339 -0.9232 -0.3844 -13.54 8.63
21 | 284 -1.0609 -0.5332 -0.9231 -0.3846 7.58 8.68
22 | 284 -1.0609 -0.5365 -0.9250 -0.3800 11.37 8.46
23 | 284 -1.0609 -0.5369 -0.9249 -0.3802 16.59 7.64
24 | 553 -0.7339 0.4175 -0.4650 0.8853 -2.89 6.49
25 | 553 -0.7339 0.4178 -0.4646 0.8855 0.10 7.20
26 | 553 -0.7339 0.4133 -0.4601 0.8879 -27.47 7.47
27 | 553 -0.7339 0.4149 -0.4610 0.8874 -19.58 8.14
28 | 599 -0.6780 -0.6345 0.7879 0.6158 -15.34 14.25
29 | 599 -0.6780 -0.6339 0.7874 0.6165 3.69 8.51
30 | 664 -0.5990 0.6695 -0.3229 0.9464 8.00 7.31
31 | 664 -0.5990 0.6695 -0.3227 0.9465 16.11 7.93
32 | 664 -0.5990 0.6700 -0.3236 0.9462 12.37 6.30
33 | 664 -0.5990 0.6702 -0.3237 0.9462 23.98 7.23
34 | 962 -0.2368 -0.3986 -0.5023 -0.8647 4.13 11.05
35 | 962 -0.2368 -0.3957 -0.4989 -0.8667 17.57 8.15
36 | 962 -0.2368 -0.3942 -0.4974 -0.8675 9.37 11.44
37 | 962 -0.2368 -0.3915 -0.4937 -0.8697 -14.67 8.17
38 | 962 -0.2368 -0.3916 -0.4940 -0.8695 9.28 10.39
39 | 996 -0.1954 0.5780 0.4924 -0.8704 23.59 11.24
40 | 996 -0.1954 0.5769 0.4913 -0.8710 3.69 8.27
41 | 996 -0.1954 0.5805 0.4955 -0.8686 -3.29 8.59
42 | 996 -0.1954 0.5802 0.4957 -0.8685 -0.94 8.27
43 | 996 -0.1954 0.5825 0.4986 -0.8669 12.47 11.41
44 | 996 -0.1954 0.5816 0.4969 -0.8678 -11.64 9.63
45 | 1064 -0.1129 -0.6618 -0.9055 -0.4242 12.98 7.73
46 | 1064 -0.1129 -0.6611 -0.9051 -0.4251 -3.17 9.34
47 | 1064 -0.1129 -0.6627 -0.9061 -0.4231 2.03 8.54
48 | 1064 -0.1129 -0.6628 -0.9062 -0.4230 9.73 6.96
49 | 1442 0.3464 0.6802 -0.4586 0.8886 -8.21 8.56
50 | 1442 0.3464 0.6787 -0.4568 0.8895 -14.62 6.85
51 | 1442 0.3464 0.6784 -0.4563 0.8898 -15.26 7.01
52 | 1442 0.3464 0.6768 -0.4545 0.8908 -0.53 7.44
53 | 1549 0.4764 0.4022 0.1387 0.9903 25.94 9.28
54 | 1549 0.4764 0.4018 0.1398 0.9902 10.66 8.07
55 | 1549 0.4764 0.4063 0.1337 0.9910 31.93 14.32
56 | 1549 0.4764 0.4058 0.1341 0.9910 20.87 7.72
57 | 1845 0.8359 -0.6528 -0.8348 -0.5506 4.85 11.90
58 | 1845 0.8359 -0.6519 -0.8341 -0.5516 -21.95 10.73
59 | 1845 0.8359 -0.6532 -0.8350 -0.5502 15.79 8.44
60 | 1906 0.9100 0.6244 0.2549 -0.9670 3.32 11.17
61 | 1906 0.9100 0.6248 0.2557 -0.9668 -7.78 9.92
62 | 1906 0.9100 0.6226 0.2528 -0.9675 -3.00 11.02
63 | 1906 0.9100 0.6221 0.2522 -0.9677 12.85 8.88
64 | 1906 0.9100 0.6202 0.2493 -0.9684 -9.26 12.39
65 | 1906 0.9100 0.6196 0.2487 -0.9686 -0.79 9.88
66 | 1951 0.9647 -0.4075 -0.9086 -0.4176 -5.44 8.88
67 | 1951 0.9647 -0.4102 -0.9104 -0.4138 -17.71 11.18
68 | 1951 0.9647 -0.4106 -0.9104 -0.4138 10.87 9.64
69 | 1951 0.9647 -0.4137 -0.9126 -0.4089 -14.29 9.13
70 | 2220 1.2912 0.5469 -0.5003 0.8659 -1.80 11.45
71 | 2220 1.2912 0.5467 -0.4999 0.8661 -3.25 13.45
72 | 2221 1.2925 0.5428 -0.4893 0.8721 -5.63 12.54
73 | 2711 1.8873 -0.6618 -0.9045 -0.4266 19.26 9.21
74 | 2711 1.8873 -0.6622 -0.9048 -0.4258 4.44 10.38
75 | 2711 1.8873 -0.6632 -0.9054 -0.4246 -0.33 10.48
76 | 2711 1.8873 -0.6632 -0.9053 -0.4247 6.97 8.97
77 | 2711 1.8873 -0.6642 -0.9059 -0.4234 -10.87 10.63
78 |
--------------------------------------------------------------------------------
/htof/test/data_for_tests/Hip1/IntermediateData/70000.txt:
--------------------------------------------------------------------------------
1 | IH1 : 70000 Hipparcos Catalogue (HIP) identifier
2 | IH2 : 8.55 Provisional Hp magnitude used for the merging (mag)
3 | IH3 : 214.85975459 Right ascension alpha (deg)
4 | IH4 : 14.93570946 Declination delta (deg)
5 | IH5 : 1.26 Trigonometric parallax pi (mas)
6 | IH6 : 1.01 Proper motion in right ascension mu_alpha* (mas/year)
7 | IH7 : 7.27 Proper motion in declination mu_delta (mas/year)
8 | IH8 : 5 Code for adopted solution (5, 7, 9, C, O, V, X, -)
9 | IH9 : 56 Number of following abscissae records, N_A
10 | ABCISSAE
11 | A1 | |IA3 |IA4 |IA5 |IA6 |IA7 |IA8 |IA9 |IA10
12 | 54|F|-0.8000|-0.6000|-0.0378| 1.0724| 0.8042| 0.15| 1.77|0.589
13 | 54|N|-0.8005|-0.5993|-0.0382| 1.0731| 0.8034| -0.12| 1.91|0.589
14 | 55|F|-0.7801|-0.6256|-0.0193| 1.0447| 0.8378| -0.38| 2.02|0.598
15 | 55|N|-0.7802|-0.6255|-0.0191| 1.0450| 0.8377| 0.60| 2.49|0.598
16 | 70|F|-0.3581|-0.9337| 0.3123| 0.4729| 1.2333| 0.54| 2.47|0.649
17 | 70|N|-0.3583|-0.9336| 0.3123| 0.4733| 1.2332| -1.11| 3.14|0.649
18 | 151|F|-0.9219|-0.3873|-0.6661| 1.1267| 0.4734| 7.42| 4.38|0.605
19 | 151|N|-0.9222|-0.3868|-0.6657| 1.1275| 0.4729| -2.78| 3.86|0.605
20 | 221|F| 0.4808|-0.8768| 0.5630|-0.5468| 0.9971| -0.08| 1.81|0.588
21 | 221|N| 0.4813|-0.8766| 0.5645|-0.5475| 0.9971| -0.78| 1.72|0.588
22 | 253|F|-0.4615|-0.8871|-0.3661| 0.5068| 0.9742| 1.22| 2.22|0.612
23 | 253|N|-0.4611|-0.8874|-0.3651| 0.5066| 0.9749| -0.49| 3.45|0.612
24 | 462|F| 0.7184| 0.6956| 0.0473|-0.6068|-0.5875| 1.75| 2.64|0.688
25 | 462|N| 0.7194| 0.6947| 0.0458|-0.6074|-0.5866| 3.52| 2.83|0.688
26 | 472|F| 0.9054| 0.4246|-0.2533|-0.7534|-0.3534| -2.78| 1.93|0.626
27 | 472|N| 0.9053| 0.4248|-0.2530|-0.7534|-0.3535| 0.22| 2.44|0.626
28 | 473|F| 0.9179| 0.3969|-0.2805|-0.7629|-0.3299| 0.17| 1.76|0.633
29 | 473|N| 0.9179| 0.3969|-0.2809|-0.7628|-0.3298| -1.41| 2.08|0.633
30 | 561|F|-0.3042| 0.9526| 0.6832| 0.2202|-0.6897| 0.89| 2.24|0.669
31 | 561|N|-0.3041| 0.9526| 0.6834| 0.2202|-0.6898| -1.18| 2.85|0.669
32 | 628|F| 0.7816| 0.6237|-0.6158|-0.5020|-0.4006| 2.91| 6.47|0.878
33 | 628|N| 0.7819| 0.6235|-0.6159|-0.5025|-0.4007| 2.81| 7.53|0.878
34 | 629|F| 0.7685| 0.6397|-0.6013|-0.4931|-0.4105| -2.36| 4.71|0.740
35 | 629|N| 0.7687| 0.6398|-0.6018|-0.4929|-0.4103| -4.04| 4.92|0.740
36 | 672|F|-0.4393| 0.8983| 0.3717| 0.2587|-0.5291| -5.60| 3.19|0.593
37 | 672|N|-0.4336| 0.9011| 0.3681| 0.2555|-0.5309| -2.23| 2.34|0.593
38 | 673|F|-0.4587| 0.8885| 0.3850| 0.2698|-0.5227| 1.49| 2.58|0.702
39 | 673|N|-0.4581| 0.8890| 0.3828| 0.2693|-0.5227| 0.26| 3.37|0.702
40 | 931|N|-0.9517|-0.3074|-0.5613| 0.2612| 0.0844| -1.89| 3.58|
41 | 932|F|-0.9451|-0.3266|-0.5501| 0.2585| 0.0893| -2.97| 2.75|0.722
42 | 932|N|-0.9453|-0.3264|-0.5514| 0.2584| 0.0892| 0.71| 2.99|0.722
43 | 1037|F|-0.7655|-0.6435|-0.5839| 0.1114| 0.0937| -1.97| 2.05|0.666
44 | 1037|N|-0.7655|-0.6434|-0.5838| 0.1115| 0.0937| -5.12| 2.34|0.666
45 | 1340|F|-0.0592| 0.9982| 0.5680|-0.0132| 0.2219| -1.81| 2.78|0.684
46 | 1340|N|-0.0593| 0.9982| 0.5681|-0.0132| 0.2221| -3.84| 4.04|0.684
47 | 1714|F|-0.9276|-0.3736|-0.3038|-0.6281|-0.2530| 2.19| 2.26|0.677
48 | 1714|N|-0.9278|-0.3732|-0.3032|-0.6280|-0.2526| -0.82| 2.72|0.677
49 | 1715|F|-0.9169|-0.3990|-0.2872|-0.6215|-0.2704| 0.56| 2.54|0.709
50 | 1715|N|-0.9169|-0.3993|-0.2880|-0.6216|-0.2707| -4.62| 2.90|0.709
51 | 1751|F| 0.0390|-0.9992| 0.5412| 0.0281|-0.7213| -0.12| 2.10|0.627
52 | 1751|N| 0.0386|-0.9993| 0.5410| 0.0278|-0.7213| -0.36| 2.19|0.627
53 | 1818|F|-0.8901|-0.4555|-0.6685|-0.7152|-0.3660| 4.52| 3.47|0.735
54 | 1818|N|-0.8905|-0.4553|-0.6684|-0.7153|-0.3657| 1.86| 3.83|0.735
55 | 1897|F| 0.4508|-0.8926| 0.3908| 0.4054|-0.8026| -0.71| 2.34|0.589
56 | 1897|N| 0.4513|-0.8923| 0.3912| 0.4059|-0.8024| 0.68| 2.08|0.589
57 | 1916|F|-0.1597|-0.9871|-0.1787|-0.1473|-0.9105| -0.70| 2.67|0.707
58 | 1916|N|-0.1601|-0.9871|-0.1785|-0.1476|-0.9102| -4.15| 3.22|0.707
59 | 1917|F|-0.1923|-0.9813|-0.2051|-0.1775|-0.9059| 0.02| 5.44|0.550
60 | 1917|N|-0.1900|-0.9818|-0.2041|-0.1754|-0.9066| -2.40| 4.30|0.550
61 | 2123|F| 0.3630| 0.9318| 0.3172| 0.4260| 1.0936| 0.98| 2.09|0.620
62 | 2123|N| 0.3629| 0.9318| 0.3178| 0.4259| 1.0935| -3.11| 2.75|0.620
63 | 2230|F|-0.3819| 0.9242| 0.6893|-0.4979| 1.2047| -1.32| 2.45|0.258
64 | 2230|N|-0.3806| 0.9248| 0.6890|-0.4960| 1.2051| -3.89| 6.86|0.258
65 | 2630|N| 0.3469|-0.9379| 0.6706| 0.6207|-1.6780| -4.95| 7.04|
66 | 2683|F|-0.7684|-0.6400|-0.5863|-1.4241|-1.1863| 1.21| 2.47|0.584
67 | 2683|N|-0.7684|-0.6399|-0.5864|-1.4242|-1.1860| -3.57| 3.69|0.584
68 |
--------------------------------------------------------------------------------
/htof/test/data_for_tests/Hip21/IntermediateData/H044050.d:
--------------------------------------------------------------------------------
1 | # This file contains residual records, extracted from the Hipparcos 2
2 | # Interactive Data Access Tool (2014). For more information, see:
3 | # https://www.cosmos.esa.int/web/hipparcos/interactive-data-access
4 | # https://www.cosmos.esa.int/web/hipparcos/catalogues
5 | #
6 | # HIP MCE NRES NC isol_n SCE F2 F1
7 | # 44050 43911 74 1 5 0 2.06 0
8 | # Hp B-V VarAnn NOB NR
9 | # 7.1237 1.242 2 71 0
10 | # RAdeg DEdeg Plx pm_RA pm_DE e_RA e_DE e_Plx e_pmRA e_pmDE dpmRA dpmDE e_dpmRA e_dpmDE ddpmRA ddpmDE e_ddpmRA e_ddpmDE upsRA upsDE e_upsRA e_upsDE var
11 | # 134.56670769 10.84526478 3.97 -17.27 -31.14 0.61 0.45 0.76 0.86 0.57 --- --- --- --- --- --- --- --- --- --- --- --- ---
12 | #
13 | # IORB EPOCH PARF CPSI SPSI RES SRES
14 | 310 -1.0292 0.1738 -0.0457 0.9990 2.56 2.71
15 | 310 -1.0292 0.1683 -0.0381 0.9993 0.15 2.62
16 | 310 -1.0292 0.1686 -0.0391 0.9992 3.04 2.49
17 | 311 -1.0281 0.1627 -0.0279 0.9996 -0.12 2.50
18 | 311 -1.0281 0.1582 -0.0216 0.9998 -4.89 3.22
19 | 311 -1.0281 0.1581 -0.0219 0.9998 -0.99 2.10
20 | 311 -1.0281 0.1535 -0.0158 0.9999 -2.70 2.84
21 | 311 -1.0281 0.1523 -0.0134 0.9999 3.05 1.80
22 | 335 -0.9989 -0.4457 0.6940 0.7200 -1.63 2.01
23 | 335 -0.9989 -0.4536 0.7020 0.7121 -5.28 2.11
24 | 335 -0.9989 -0.4541 0.7022 0.7120 1.89 1.68
25 | 335 -0.9989 -0.4608 0.7060 0.7082 -0.79 1.61
26 | 495 -0.8043 -0.3229 0.7027 0.7115 0.15 1.73
27 | 495 -0.8043 -0.3184 0.6984 0.7157 0.40 1.69
28 | 495 -0.8043 -0.3187 0.6984 0.7157 -1.22 1.67
29 | 495 -0.8043 -0.3145 0.6949 0.7191 -0.38 1.74
30 | 495 -0.8043 -0.3151 0.6950 0.7190 1.63 2.03
31 | 495 -0.8043 -0.3109 0.6908 0.7230 -3.08 2.51
32 | 495 -0.8043 -0.3103 0.6904 0.7234 0.75 2.22
33 | 496 -0.8031 -0.2936 0.6767 0.7362 0.60 2.08
34 | 496 -0.8031 -0.2921 0.6754 0.7374 0.03 2.37
35 | 507 -0.7898 0.0117 0.3587 0.9334 -4.26 2.70
36 | 507 -0.7898 0.0118 0.3583 0.9336 5.73 2.21
37 | 508 -0.7886 0.0269 0.3409 0.9401 1.07 2.48
38 | 508 -0.7886 0.0271 0.3401 0.9404 -0.09 2.01
39 | 508 -0.7886 0.0320 0.3343 0.9425 2.70 2.45
40 | 508 -0.7886 0.0316 0.3353 0.9421 0.88 1.99
41 | 508 -0.7886 0.0346 0.3306 0.9438 0.06 1.47
42 | 508 -0.7886 0.0377 0.3274 0.9449 -0.95 1.45
43 | 509 -0.7874 0.0507 0.3114 0.9503 2.10 2.36
44 | 509 -0.7874 0.0520 0.3097 0.9508 3.19 1.80
45 | 813 -0.4179 -0.6706 -0.8517 -0.5241 -0.36 1.90
46 | 881 -0.3352 0.5352 0.3012 -0.9536 -0.02 1.75
47 | 912 -0.2976 -0.2616 -0.6560 -0.7548 3.85 1.88
48 | 912 -0.2976 -0.2666 -0.6616 -0.7499 1.29 1.63
49 | 912 -0.2976 -0.2654 -0.6602 -0.7511 -3.19 1.69
50 | 913 -0.2964 -0.2674 -0.6652 -0.7466 -3.21 1.74
51 | 913 -0.2964 -0.2719 -0.6694 -0.7429 -0.81 2.41
52 | 913 -0.2964 -0.2720 -0.6698 -0.7425 -3.65 1.73
53 | 1190 0.0402 0.6208 -0.4369 0.8995 -0.94 2.12
54 | 1190 0.0402 0.6200 -0.4360 0.8999 0.45 1.39
55 | 1190 0.0402 0.6198 -0.4357 0.9001 4.15 2.54
56 | 1190 0.0402 0.6169 -0.4324 0.9017 -0.97 3.28
57 | 1251 0.1143 -0.6702 0.8627 0.5058 1.71 2.45
58 | 1252 0.1156 -0.6660 0.8607 0.5091 -0.18 3.50
59 | 1298 0.1714 0.4826 -0.2308 0.9730 2.40 2.01
60 | 1298 0.1714 0.4844 -0.2335 0.9724 0.92 2.52
61 | 1298 0.1714 0.4851 -0.2350 0.9720 -2.36 1.64
62 | 1298 0.1714 0.4863 -0.2361 0.9717 -2.26 1.96
63 | 1298 0.1714 0.4888 -0.2399 0.9708 0.16 1.81
64 | 1298 0.1714 0.4876 -0.2381 0.9712 1.19 1.81
65 | 1594 0.5310 -0.5499 -0.7723 -0.6353 1.96 1.95
66 | 1594 0.5310 -0.5509 -0.7731 -0.6343 -2.55 1.50
67 | 1594 0.5310 -0.5479 -0.7705 -0.6375 2.51 2.72
68 | 1594 0.5310 -0.5477 -0.7703 -0.6377 -1.15 1.66
69 | 1644 0.5918 0.6770 0.4514 -0.8923 -3.05 2.77
70 | 1698 0.6574 -0.5616 -0.8338 -0.5521 -0.57 1.71
71 | 1698 0.6574 -0.5609 -0.8334 -0.5527 2.72 2.59
72 | 1698 0.6574 -0.5634 -0.8353 -0.5498 -2.26 2.38
73 | 1698 0.6574 -0.5646 -0.8360 -0.5488 -4.40 2.34
74 | 1973 0.9914 0.3858 -0.2744 0.9616 3.25 2.43
75 | 1973 0.9914 0.3850 -0.2726 0.9621 -3.53 1.88
76 | 1973 0.9914 0.3821 -0.2686 0.9632 4.48 1.81
77 | 1973 0.9914 0.3804 -0.2667 0.9638 -1.56 1.73
78 | 1973 0.9914 0.3778 -0.2636 0.9646 -2.72 1.85
79 | 1973 0.9914 0.3767 -0.2625 0.9649 1.01 2.02
80 | 2013 1.0400 -0.6143 0.8133 0.5819 1.16 2.17
81 | 2013 1.0400 -0.6141 0.8133 0.5819 -5.10 3.80
82 | 2014 1.0412 -0.6199 0.8170 0.5767 3.23 4.74
83 | 2014 1.0412 -0.6202 0.8170 0.5766 -4.13 4.76
84 | 2079 1.1201 0.6583 -0.4111 0.9116 3.38 3.19
85 | 2079 1.1201 0.6586 -0.4115 0.9114 3.29 4.74
86 | 2079 1.1201 0.6592 -0.4122 0.9111 -4.07 4.76
87 | 2079 1.1201 0.6590 -0.4120 0.9112 3.44 3.19
88 |
--------------------------------------------------------------------------------
/htof/test/data_for_tests/Hip1/IntermediateData/5313.txt:
--------------------------------------------------------------------------------
1 | IH1 : 5313 Hipparcos Catalogue (HIP) identifier
2 | IH2 : 7.94 Provisional Hp magnitude used for the merging (mag)
3 | IH3 : 16.99501278 Right ascension alpha (deg)
4 | IH4 : 39.25253121 Declination delta (deg)
5 | IH5 : 26.79 Trigonometric parallax pi (mas)
6 | IH6 : -79.86 Proper motion in right ascension mu_alpha* (mas/year)
7 | IH7 : -2.06 Proper motion in declination mu_delta (mas/year)
8 | IH8 : 7 Code for adopted solution (5, 7, 9, C, O, V, X, -)
9 | IH9 : 62 Number of following abscissae records, N_A
10 | ABCISSAE
11 | A1 | |IA3 |IA4 |IA5 |IA6 |IA7 |IA8 |IA9 |IA10
12 | 73|F|-0.3214| 0.9469| 0.2629| 0.4235|-1.2475| -6.57| 2.16|0.569
13 | 73|N|-0.3203| 0.9473| 0.2620| 0.4220|-1.2481| -5.24| 2.19|0.569
14 | 97|N| 0.4428| 0.8967|-0.4602|-0.5704|-1.1553| -5.55| 2.81|
15 | 172|F|-0.9275| 0.3736| 0.6705| 1.1101|-0.4471| -0.75| 1.86|0.555
16 | 172|N|-0.9276| 0.3736| 0.6711| 1.1105|-0.4473| -1.77| 2.86|0.555
17 | 241|F|-0.0863| 0.9962|-0.5308| 0.0961|-1.1086| -3.52| 1.99|0.599
18 | 241|N|-0.0829| 0.9966|-0.5328| 0.0923|-1.1094| -4.87| 2.19|0.599
19 | 242|F|-0.1076| 0.9942|-0.5162| 0.1197|-1.1057| -7.67| 1.90|0.604
20 | 242|N|-0.1067| 0.9943|-0.5171| 0.1187|-1.1058| -7.79| 2.16|0.604
21 | 277|F|-0.9567| 0.2909| 0.2749| 1.0230|-0.3111| 1.95| 1.63|0.574
22 | 277|N|-0.9567| 0.2911| 0.2749| 1.0230|-0.3113| 2.36| 1.70|0.574
23 | 542|F|-0.4072|-0.9133|-0.6177| 0.3044| 0.6827| -1.89| 1.86|0.627
24 | 542|N|-0.4075|-0.9132|-0.6190| 0.3045| 0.6824| -0.09| 2.16|0.627
25 | 654|F| 0.0472|-0.9989|-0.5630|-0.0289| 0.6106| -4.65| 1.82|0.629
26 | 654|N| 0.0468|-0.9989|-0.5637|-0.0286| 0.6105| -4.92| 2.00|0.629
27 | 953|F|-0.8218| 0.5697| 0.5996| 0.2035|-0.1410| -4.11| 2.46|0.646
28 | 953|N|-0.8217| 0.5700| 0.5994| 0.2034|-0.1411| -5.61| 3.84|0.646
29 | 1004|F| 0.2736| 0.9617|-0.6712|-0.0507|-0.1782| 12.77| 3.13|0.200
30 | 1004|N| 0.2739| 0.9619|-0.6706|-0.0509|-0.1787| 17.90| 15.06|0.200
31 | 1005|F| 0.2675| 0.9634|-0.6672|-0.0495|-0.1783| 12.95| 2.49|0.687
32 | 1005|N| 0.2680| 0.9636|-0.6687|-0.0495|-0.1779| 8.06| 3.34|0.687
33 | 1059|F|-0.9737| 0.2277| 0.5423| 0.1156|-0.0270| -2.91| 2.37|0.691
34 | 1059|N|-0.9738| 0.2277| 0.5428| 0.1157|-0.0271| -2.38| 2.69|0.691
35 | 1320|F|-0.4179|-0.9085|-0.4086|-0.0829|-0.1802| -6.93| 2.03|0.636
36 | 1320|N|-0.4176|-0.9086|-0.4081|-0.0828|-0.1802| -11.47| 2.75|0.636
37 | 1367|F| 0.8326|-0.5539| 0.6279| 0.2125|-0.1414| -3.74| 2.09|0.655
38 | 1367|N| 0.8329|-0.5535| 0.6282| 0.2126|-0.1413| -1.20| 2.39|0.655
39 | 1433|F|-0.2140|-0.9768|-0.6799|-0.0718|-0.3276| -9.06| 1.83|0.602
40 | 1433|N|-0.2144|-0.9767|-0.6805|-0.0719|-0.3277| -10.94| 2.67|0.602
41 | 1520|N| 0.9652|-0.2619| 0.2953| 0.4258|-0.1156| -1.83| 2.97|
42 | 1521|F| 0.9560|-0.2934| 0.2650| 0.4231|-0.1299| 2.38| 1.86|0.619
43 | 1521|N| 0.9565|-0.2917| 0.2669| 0.4232|-0.1291| 3.56| 1.87|0.619
44 | 1522|F| 0.9458|-0.3245| 0.2364| 0.4195|-0.1439| -2.55| 2.38|0.641
45 | 1522|N| 0.9468|-0.3220| 0.2377| 0.4200|-0.1428| -0.44| 2.41|0.641
46 | 1533|F| 0.7650|-0.6440|-0.0982| 0.3496|-0.2943| -7.50| 3.40|0.730
47 | 1533|N| 0.7658|-0.6431|-0.0981| 0.3501|-0.2940| -7.77| 3.72|0.730
48 | 1737|F|-0.5588| 0.8293| 0.4064|-0.3937| 0.5843| 6.95| 2.26|0.665
49 | 1737|N|-0.5596| 0.8288| 0.4067|-0.3944| 0.5841| 0.47| 2.60|0.665
50 | 1771|F| 0.4198| 0.9076|-0.5822| 0.3132| 0.6771| -1.78| 1.79|0.615
51 | 1771|N| 0.4196| 0.9077|-0.5822| 0.3131| 0.6772| -1.37| 2.20|0.615
52 | 1840|F|-0.9544| 0.2979| 0.6653|-0.7917| 0.2471| 1.68| 3.35|0.681
53 | 1840|N|-0.9547| 0.2979| 0.6644|-0.7923| 0.2473| -1.34| 3.37|0.681
54 | 1935|F|-0.8004| 0.5995|-0.0465|-0.7567| 0.5668| -2.30| 2.17|0.634
55 | 1935|N|-0.7997| 0.6004|-0.0462|-0.7559| 0.5675| -1.53| 2.77|0.634
56 | 1936|F|-0.8203| 0.5719|-0.0256|-0.7764| 0.5413| -0.06| 2.00|0.616
57 | 1936|N|-0.8202| 0.5720|-0.0257|-0.7764| 0.5414| 2.11| 2.46|0.616
58 | 1937|F|-0.8393| 0.5437|-0.0060|-0.7954| 0.5153| -1.01| 2.04|0.622
59 | 1937|N|-0.8395| 0.5434|-0.0056|-0.7956| 0.5149| -0.50| 2.47|0.622
60 | 1938|F|-0.8582| 0.5133| 0.0159|-0.8141| 0.4869| -3.04| 2.67|0.649
61 | 1938|N|-0.8580| 0.5138| 0.0143|-0.8141| 0.4875| -1.59| 2.70|0.649
62 | 2211|F|-0.3662|-0.9305|-0.6723|-0.4688|-1.1913| 6.47| 2.89|0.606
63 | 2211|N|-0.3655|-0.9308|-0.6722|-0.4680|-1.1918| 7.19| 4.40|0.606
64 | 2530|F| 0.1482| 0.9889|-0.0297| 0.2473| 1.6495| -19.68| 4.11|0.683
65 | 2530|N| 0.1480| 0.9890|-0.0297| 0.2468| 1.6497| -20.72| 4.53|0.683
66 | 2532|F| 0.2089| 0.9779|-0.0845| 0.3488| 1.6334| -23.62| 3.51|0.617
67 | 2532|N| 0.2118| 0.9773|-0.0867| 0.3537| 1.6323| -20.67| 4.88|0.617
68 | 2533|F| 0.2533| 0.9674|-0.1243| 0.4234| 1.6171| -20.98| 4.05|0.657
69 | 2533|N| 0.2425| 0.9702|-0.1159| 0.4054| 1.6218| -18.68| 5.29|0.657
70 | 2534|F| 0.2792| 0.9602|-0.1483| 0.4670| 1.6061| -22.83| 1.93|0.552
71 | 2534|N| 0.2791| 0.9603|-0.1482| 0.4669| 1.6061| -23.06| 1.98|0.552
72 | 2650|F| 0.2756| 0.9613|-0.6708| 0.4998| 1.7432| -23.57| 2.10|0.510
73 | 2650|N| 0.2754| 0.9613|-0.6706| 0.4994| 1.7433| -27.30| 3.81|0.510
74 |
--------------------------------------------------------------------------------
/htof/test/data_for_tests/Hip21/IntermediateData/H094046.d:
--------------------------------------------------------------------------------
1 | # This file contains residual records, extracted from the Hipparcos 2
2 | # Interactive Data Access Tool (2014). For more information, see:
3 | # https://www.cosmos.esa.int/web/hipparcos/interactive-data-access
4 | # https://www.cosmos.esa.int/web/hipparcos/catalogues
5 | #
6 | # HIP MCE NRES NC isol_n SCE F2 F1
7 | # 94046 93731 78 1 5 0 2.37 0
8 | # Hp B-V VarAnn NOB NR
9 | # 8.4697 1.025 0 76 0
10 | # RAdeg DEdeg Plx pm_RA pm_DE e_RA e_DE e_Plx e_pmRA e_pmDE dpmRA dpmDE e_dpmRA e_dpmDE ddpmRA ddpmDE e_ddpmRA e_ddpmDE upsRA upsDE e_upsRA e_upsDE var
11 | # 287.20491989 -33.35352205 5.15 -2.30 -14.19 1.22 0.78 1.33 1.84 1.05 --- --- --- --- --- --- --- --- --- --- --- --- ---
12 | #
13 | # IORB EPOCH PARF CPSI SPSI RES SRES
14 | 298 -1.0438 -0.6095 -0.4944 -0.8692 3.80 3.48
15 | 298 -1.0438 -0.6102 -0.4950 -0.8689 -0.23 4.15
16 | 298 -1.0438 -0.6096 -0.4949 -0.8690 1.40 4.30
17 | 298 -1.0438 -0.6093 -0.4942 -0.8694 -1.59 4.10
18 | 298 -1.0438 -0.6071 -0.4917 -0.8708 -6.44 4.39
19 | 298 -1.0438 -0.6071 -0.4918 -0.8707 -1.18 5.45
20 | 355 -0.9746 0.6732 0.7449 -0.6672 -0.65 3.06
21 | 405 -0.9137 -0.5008 -0.5478 -0.8366 0.85 3.95
22 | 405 -0.9137 -0.5000 -0.5474 -0.8368 0.06 4.01
23 | 689 -0.5686 0.4751 -0.7197 0.6943 -0.61 1.94
24 | 689 -0.5686 0.4744 -0.7192 0.6948 -1.73 1.79
25 | 737 -0.5102 -0.6637 0.5512 0.8344 9.44 3.24
26 | 737 -0.5102 -0.6653 0.5531 0.8331 -2.24 3.47
27 | 737 -0.5102 -0.6650 0.5527 0.8334 -6.05 4.24
28 | 796 -0.4386 0.6213 -0.6974 0.7167 10.53 6.21
29 | 796 -0.4386 0.6237 -0.6999 0.7142 -10.52 7.55
30 | 796 -0.4386 0.6225 -0.6986 0.7155 7.07 4.67
31 | 1082 -0.0910 -0.3726 -0.2217 -0.9751 -2.47 8.42
32 | 1082 -0.0910 -0.3737 -0.2232 -0.9748 12.26 7.66
33 | 1082 -0.0910 -0.3709 -0.2189 -0.9757 -7.19 8.78
34 | 1118 -0.0473 0.5963 0.7665 -0.6422 2.60 8.92
35 | 1118 -0.0473 0.5960 0.7663 -0.6425 -2.12 7.77
36 | 1118 -0.0473 0.5984 0.7682 -0.6402 -7.64 8.16
37 | 1118 -0.0473 0.5984 0.7682 -0.6403 9.88 7.88
38 | 1185 0.0341 -0.6604 -0.6025 -0.7981 -0.77 2.63
39 | 1185 0.0341 -0.6597 -0.6019 -0.7986 -0.28 3.65
40 | 1185 0.0341 -0.6616 -0.6039 -0.7970 4.51 3.44
41 | 1185 0.0341 -0.6610 -0.6033 -0.7975 3.11 3.63
42 | 1185 0.0341 -0.6626 -0.6049 -0.7963 -1.71 4.31
43 | 1185 0.0341 -0.6628 -0.6052 -0.7961 9.23 5.83
44 | 1480 0.3926 0.0014 -0.2961 0.9552 -6.59 4.97
45 | 1480 0.3926 0.0005 -0.2950 0.9555 -3.14 4.34
46 | 1480 0.3926 -0.0048 -0.2883 0.9575 4.24 4.70
47 | 1480 0.3926 -0.0049 -0.2878 0.9577 -4.28 4.31
48 | 1480 0.3926 -0.0104 -0.2810 0.9597 3.48 4.54
49 | 1481 0.3936 -0.0172 -0.2702 0.9628 6.87 6.85
50 | 1481 0.3936 -0.0182 -0.2689 0.9632 5.11 5.91
51 | 1481 0.3936 -0.0220 -0.2635 0.9647 6.54 6.27
52 | 1481 0.3936 -0.0229 -0.2628 0.9648 -0.15 5.40
53 | 1482 0.3950 -0.0452 -0.2313 0.9729 4.27 6.42
54 | 1482 0.3950 -0.0465 -0.2296 0.9733 4.45 5.92
55 | 1491 0.4059 -0.2683 0.0741 0.9973 9.61 7.30
56 | 1491 0.4059 -0.2695 0.0751 0.9972 -9.46 8.17
57 | 1491 0.4059 -0.2732 0.0803 0.9968 -11.18 6.91
58 | 1491 0.4059 -0.2736 0.0806 0.9967 -13.03 8.40
59 | 1492 0.4071 -0.2830 0.0937 0.9956 -8.04 8.14
60 | 1492 0.4071 -0.2835 0.0943 0.9955 -10.92 8.54
61 | 1492 0.4071 -0.2879 0.1000 0.9950 -3.89 8.27
62 | 1492 0.4071 -0.2882 0.1012 0.9949 1.27 7.00
63 | 1492 0.4071 -0.2915 0.1065 0.9943 0.97 9.18
64 | 1492 0.4071 -0.2938 0.1080 0.9941 -2.86 6.64
65 | 1493 0.4084 -0.3075 0.1262 0.9920 -1.14 6.76
66 | 1493 0.4084 -0.3072 0.1261 0.9920 -2.75 7.47
67 | 1493 0.4084 -0.3120 0.1328 0.9911 8.94 6.23
68 | 1493 0.4084 -0.3120 0.1331 0.9911 7.68 8.73
69 | 1493 0.4084 -0.3172 0.1393 0.9902 -2.22 5.44
70 | 1651 0.6003 -0.4641 0.5298 0.8481 -1.42 3.92
71 | 1651 0.6003 -0.4634 0.5287 0.8488 -4.99 3.30
72 | 1651 0.6003 -0.4600 0.5251 0.8510 5.57 4.28
73 | 1651 0.6003 -0.4594 0.5243 0.8515 2.46 3.22
74 | 1675 0.6295 0.2052 -0.2305 0.9731 -1.57 4.05
75 | 1675 0.6295 0.2064 -0.2320 0.9727 7.86 3.15
76 | 1675 0.6295 0.2104 -0.2378 0.9713 1.10 4.10
77 | 1675 0.6295 0.2154 -0.2398 0.9708 7.33 3.61
78 | 1675 0.6295 0.2194 -0.2494 0.9684 -5.58 3.45
79 | 1675 0.6295 0.2203 -0.2507 0.9681 -2.78 3.88
80 | 1965 0.9816 -0.6625 -0.5560 -0.8312 4.50 3.77
81 | 1965 0.9816 -0.6624 -0.5558 -0.8313 7.84 3.84
82 | 1965 0.9816 -0.6622 -0.5558 -0.8313 -2.00 4.67
83 | 1965 0.9816 -0.6616 -0.5552 -0.8317 16.59 4.32
84 | 2032 1.0630 0.5927 0.6679 -0.7443 -3.37 2.95
85 | 2032 1.0630 0.5884 0.6649 -0.7469 3.34 3.13
86 | 2070 1.1091 -0.3380 -0.4323 -0.9017 -1.54 3.09
87 | 2070 1.1091 -0.3376 -0.4316 -0.9021 2.43 3.54
88 | 2070 1.1091 -0.3407 -0.4350 -0.9004 -6.17 4.21
89 | 2070 1.1091 -0.3406 -0.4355 -0.9002 4.95 4.32
90 | 2728 1.9082 -0.3762 -0.2264 -0.9740 -6.89 4.21
91 | 2728 1.9082 -0.3730 -0.2222 -0.9750 4.24 4.32
92 |
--------------------------------------------------------------------------------
/htof/data/epoch_reject_shortlist.csv:
--------------------------------------------------------------------------------
1 | hip_id, residual/along_scan_error, orbit/scan_angle/time
2 | 100135,'[153, 152, 151, 150, 149]','[5, 28, 29, 33, 75]'
3 | 57607,'[106, 105, 104, 103, 102]','[18, 42, 43, 61, 86]'
4 | 39751,'[131, 130, 129, 128, 127, 126, 125]','[60, 61, 69, 80, 100, 111, 113]'
5 | 18517,'[139, 138, 137, 136, 135, 134]','[4, 11, 30, 45, 82, 93]'
6 | 56533,'[91, 90, 89, 88, 87]','[14, 49, 54, 68, 85]'
7 | 94489,'[126, 125, 124, 123, 122]','[6, 22, 59, 60, 106]'
8 | 52661,'[133, 132, 131, 130, 129, 128]','[10, 27, 28, 96, 105, 106]'
9 | 68137,'[83, 82, 81, 80, 79]','[4, 24, 28, 30, 31]'
10 | 89669,'[132, 131, 130, 129, 128, 127]','[11, 12, 75, 76, 115, 119]'
11 | 41201,'[57, 56, 55, 54, 53, 52, 51]','[0, 1, 29, 30, 37, 42, 48]'
12 | 13502,'[131, 130, 129, 128, 127]','[4, 12, 16, 69, 105]'
13 | 114114,'[82, 81, 80, 79]','[1, 17, 22, 56]'
14 | 78721,'[117, 116, 115, 114, 113, 112]','[9, 51, 63, 83, 91, 96]'
15 | 7145,'[167, 166, 165, 164, 163]','[6, 73, 94, 100, 155]'
16 | 96458,'[122, 121, 120, 119, 118]','[15, 39, 63, 66, 73]'
17 | 54543,'[120, 119, 118, 117, 116, 115, 114, 113]','[1, 11, 28, 37, 38, 46, 51, 118]'
18 | 21046,'[124, 123, 122, 121, 120]','[4, 92, 93, 110, 117]'
19 | 106583,'[124, 123, 122, 121, 120]','[10, 13, 61, 70, 120]'
20 | 14542,'[224, 223, 222, 221, 220, 219]','[4, 46, 55, 92, 170, 224]'
21 | 94162,'[149, 148, 147, 146, 145, 144]','[4, 15, 31, 36, 63, 101]'
22 | 43541,'[162, 161, 160, 159, 158]','[32, 52, 64, 134, 154]'
23 | 90241,'[49, 48, 47, 46, 45]','[7, 9, 10, 38, 44]'
24 | 93785,'[88, 87, 86, 85, 84]','[3, 8, 19, 30, 53]'
25 | 112626,'[126, 125, 124, 123, 122]','[15, 32, 88, 93, 120]'
26 | 79932,'[118, 117, 116, 115, 114]','[24, 27, 59, 86, 97]'
27 | 105788,'[94, 93, 92, 91, 90]','[7, 13, 38, 56, 78]'
28 | 21479,'[99, 98, 97, 96, 95]','[6, 53, 55, 62, 85]'
29 | 108630,'[166, 165, 164, 163, 162, 161]','[7, 12, 38, 50, 105, 126]'
30 | 9306,'[134, 133, 132, 131, 130, 129, 128]','[2, 9, 16, 91, 95, 110, 127]'
31 | 4008,'[175, 174, 173, 172, 171, 170]','[2, 40, 97, 129, 146, 147]'
32 | 82516,'[96, 95, 94, 93, 92]','[6, 15, 22, 81, 96]'
33 | 112887,'[154, 153, 152, 151, 150]','[33, 70, 122, 123, 154]'
34 | 54101,'[126, 125, 124, 123, 122, 121]','[7, 24, 32, 68, 89, 126]'
35 | 84213,'[95, 94, 93, 92, 91, 90]','[4, 17, 29, 30, 66, 79]'
36 | 12193,'[92, 91, 90, 89, 88, 87, 86]','[10, 12, 13, 17, 36, 55, 85]'
37 | 24169,'[87, 86, 85, 84, 83, 82]','[10, 13, 23, 41, 56, 57]'
38 | 60180,'[144, 143, 142, 141, 140]','[4, 6, 16, 42, 53]'
39 | 106642,'[134, 133, 132, 131, 130, 129]','[11, 20, 67, 76, 113, 129]'
40 | 102949,'[142, 141, 140, 139, 138, 137, 136]','[21, 31, 47, 93, 111, 134, 138]'
41 | 53300,'[124, 123, 122, 121, 120, 119, 118, 117]','[8, 14, 31, 33, 50, 79, 87, 103]'
42 | 67439,'[80, 79, 78, 77, 76]','[9, 17, 26, 30, 46]'
43 | 97629,'[115, 114, 113, 112, 111, 110]','[22, 23, 41, 81, 82, 98]'
44 | 81835,'[128, 127, 126, 125, 124, 123]','[19, 21, 53, 75, 89, 90]'
45 | 80259,'[157, 156, 155, 154, 153, 152]','[5, 18, 31, 89, 94, 143]'
46 | 99653,'[130, 129, 128, 127, 126]','[3, 9, 20, 40, 106]'
47 | 50843,'[137, 136, 135, 134, 133, 132]','[20, 28, 38, 47, 98, 133]'
48 | 34922,'[115, 114, 113, 112, 111]','[7, 9, 73, 103, 113]'
49 | 108728,'[150, 149, 148, 147, 146]','[7, 34, 39, 42, 93]'
50 | 83674,'[94, 93, 92, 91, 90, 89]','[4, 11, 12, 39, 57, 84]'
51 | 92235,'[98, 97, 96, 95, 94, 93]','[3, 4, 8, 12, 14, 59]'
52 | 66696,'[126, 125, 124, 123, 122, 121, 120]','[0, 26, 48, 53, 79, 80, 107]'
53 | 59844,'[174, 173, 172, 171, 170]','[8, 60, 61, 109, 119]'
54 | 48405,'[104, 103, 102, 101, 100, 99]','[24, 39, 45, 46, 54, 69]'
55 | 47131,'[130, 129, 128, 127, 126]','[13, 20, 24, 55, 63]'
56 | 101023,'[133, 132, 131, 130, 129]','[19, 26, 56, 96, 112]'
57 | 57260,'[135, 134, 133, 132, 131, 130]','[10, 26, 59, 60, 72, 115]'
58 | 80432,'[154, 153, 152, 151, 150]','[7, 18, 42, 107, 138]'
59 | 52599,'[100, 99, 98, 97, 96, 95]','[13, 48, 84, 90, 95, 100]'
60 | 66825,'[146, 145, 144, 143, 142, 141]','[26, 27, 43, 50, 53, 142]'
61 | 109070,'[128, 127, 126, 125, 124, 123]','[0, 80, 81, 90, 113, 128]'
62 | 45949,'[131, 130, 129, 128, 127]','[54, 77, 105, 106, 110]'
63 | 74337,'[125, 124, 123, 122, 121, 120, 119]','[8, 9, 41, 93, 108, 111, 121]'
64 | 116758,'[81, 80, 79, 78, 77]','[3, 15, 29, 52, 81]'
65 | 12302,'[130, 129, 128, 127, 126]','[20, 72, 73, 92, 93]'
66 | 38965,'[184, 183, 182, 181, 180, 179]','[20, 70, 74, 96, 158, 175]'
67 | 28770,'[146, 145, 144, 143, 142, 141]','[22, 52, 104, 127, 132, 139]'
68 | 118188,'[173, 172, 171, 170, 169]','[89, 90, 118, 142, 156]'
69 | 69695,'[179, 178, 177, 176, 175, 174, 173]','[4, 8, 126, 137, 143, 158, 166]'
70 | 30785,'[160, 159, 158, 157, 156]','[11, 22, 71, 87, 107]'
71 | 21000,'[40, 39, 38, 37, 36, 35, 34, 33, 32, 31]','[13, 14, 15, 16, 21, 22, 23, 24, 34, 36]'
72 | 94312,'[112, 111, 110, 109, 108]','[23, 97, 110, 111, 112]'
73 | 516,'[150, 149, 148, 147, 146]','[123, 124, 144, 145, 150]'
74 | 84004,'[105, 104, 103, 102, 101]','[15, 20, 69, 86, 105]'
75 | 36685,'[116, 115, 114, 113, 112]','[2, 10, 15, 22, 96]'
76 | 22170,'[109, 108, 107, 106, 105]','[9, 13, 35, 56, 79]'
77 | 116883,'[142, 141, 140, 139, 138]','[2, 19, 77, 128, 131]'
78 | 17447,'[135, 134, 133, 132, 131]','[13, 27, 41, 55, 98]'
79 | 20429,'[149, 148, 147, 146, 145, 144]','[4, 5, 80, 92, 112, 120]'
80 | 114489,'[71, 70, 69, 68, 67]','[8, 13, 34, 50, 68]'
81 | 41588,'[122, 121, 120, 119, 118, 117]','[24, 25, 38, 51, 89, 113]'
82 | 117185,'[93, 92, 91, 90, 89]','[27, 33, 64, 79, 92]'
83 | 89596,'[79, 78, 77, 76, 75, 74]','[3, 39, 40, 47, 56, 69]'
84 | 92400,'[127, 126, 125, 124, 123, 122]','[68, 104, 112, 114, 126, 127]'
85 | 89968,'[81, 80, 79, 78, 77]','[9, 39, 40, 52, 69]'
86 |
--------------------------------------------------------------------------------
/htof/test/data_for_tests/Hip1/IntermediateData/027321.txt:
--------------------------------------------------------------------------------
1 | IH1 : 27321 Hipparcos Catalogue (HIP) identifier
2 | IH2 : 3.91 Provisional Hp magnitude used for the merging (mag)
3 | IH3 : 86.82118054 Right ascension alpha (deg)
4 | IH4 : -51.06671329 Declination delta (deg)
5 | IH5 : 51.87 Trigonometric parallax pi (mas)
6 | IH6 : 4.65 Proper motion in right ascension mu_alpha* (mas/year)
7 | IH7 : 81.96 Proper motion in declination mu_delta (mas/year)
8 | IH8 : 5 Code for adopted solution (5, 7, 9, C, O, V, X, -)
9 | IH9 : 66 Number of following abscissae records, N_A
10 | ABCISSAE
11 | A1 | |IA3 |IA4 |IA5 |IA6 |IA7 |IA8 |IA9 |IA10
12 | 133|F|-0.9053|-0.4248| 0.6270| 1.1264| 0.5285| -2.50| 2.21|0.393
13 | 133|N|-0.9051|-0.4252| 0.6263| 1.1265| 0.5291| -1.18| 1.59|0.393
14 | 194|F|-0.0721| 0.9974|-0.6469| 0.0844|-1.1670| -4.07| 2.26|0.392
15 | 194|N|-0.0760| 0.9972|-0.6454| 0.0889|-1.1670| 1.64| 1.57|0.392
16 | 257|F|-0.8772| 0.4801| 0.6742| 0.9591|-0.5250| 0.63| 2.08|0.473
17 | 257|N|-0.8772| 0.4802| 0.6730| 0.9594|-0.5252| 1.88| 2.23|0.473
18 | 327|F| 0.8132| 0.5819|-0.6770|-0.8200|-0.5867| -1.98| 2.01|0.473
19 | 327|N| 0.8127| 0.5827|-0.6769|-0.8196|-0.5877| -0.45| 2.13|0.473
20 | 458|N| 0.9462|-0.3237|-0.6396|-0.8036| 0.2749| 0.00| 2.01|
21 | 503|F| 0.7364| 0.6766| 0.6359|-0.5850|-0.5375| 1.82| 2.25|0.531
22 | 503|N| 0.7362| 0.6767| 0.6360|-0.5849|-0.5377| -0.15| 2.56|0.531
23 | 585|F| 0.2617|-0.9651|-0.6553|-0.1819| 0.6710| 1.33| 1.88|0.482
24 | 585|N| 0.2615|-0.9653|-0.6545|-0.1818| 0.6709| 1.96| 1.84|0.482
25 | 634|F| 0.9776|-0.2102| 0.6757|-0.6207| 0.1335| 1.90| 2.34|0.471
26 | 634|N| 0.9778|-0.2099| 0.6743|-0.6212| 0.1334| 2.67| 2.13|0.471
27 | 709|F|-0.6227|-0.7825|-0.6864| 0.3390| 0.4260| 2.91| 1.83|0.475
28 | 709|N|-0.6227|-0.7825|-0.6858| 0.3389| 0.4259| 1.45| 1.66|0.475
29 | 770|F| 0.3633|-0.9317| 0.6706|-0.1708| 0.4381| -2.74| 2.05|0.522
30 | 770|N| 0.3634|-0.9317| 0.6711|-0.1708| 0.4380| -1.04| 2.41|0.522
31 | 834|F|-0.9999| 0.0146|-0.6390| 0.3922|-0.0057| 0.62| 2.00|0.486
32 | 834|N|-0.9999| 0.0141|-0.6393| 0.3924|-0.0055| 0.00| 1.94|0.486
33 | 904|F|-0.6546|-0.7559| 0.6219| 0.2010| 0.2321| 0.84| 2.57|0.456
34 | 904|N|-0.6544|-0.7562| 0.6207| 0.2011| 0.2324| -1.62| 2.06|0.456
35 | 964|F|-0.4872| 0.8733|-0.6278| 0.1143|-0.2048| 0.37| 1.84|0.507
36 | 964|N|-0.4875| 0.8731|-0.6271| 0.1143|-0.2047| 2.29| 1.96|0.507
37 | 1031|F|-0.9902| 0.1397| 0.6533| 0.1514|-0.0214| -1.68| 2.09|0.512
38 | 1031|N|-0.9903| 0.1391| 0.6533| 0.1515|-0.0213| 0.13| 2.24|0.512
39 | 1097|F| 0.5293| 0.8484|-0.6758|-0.0385|-0.0617| -1.73| 1.76|0.475
40 | 1097|N| 0.5294| 0.8484|-0.6761|-0.0385|-0.0618| -0.43| 2.59|0.475
41 | 1153|F|-0.4993| 0.8664| 0.6742| 0.0024|-0.0042| -0.21| 2.07|0.513
42 | 1153|N|-0.4993| 0.8664| 0.6749| 0.0023|-0.0041| -0.38| 2.89|0.513
43 | 1229|F| 0.9986| 0.0523|-0.6526| 0.0876| 0.0046| 0.82| 2.25|0.554
44 | 1229|N| 0.9986| 0.0526|-0.6527| 0.0876| 0.0046| -2.12| 2.62|0.554
45 | 1275|N| 0.4236| 0.9061| 0.6351| 0.0608| 0.1301| -0.88| 2.34|
46 | 1276|F| 0.4188| 0.9080| 0.6430| 0.0605| 0.1312| 0.96| 2.78|0.488
47 | 1276|N| 0.4188| 0.9082| 0.6446| 0.0606| 0.1315| 5.27| 2.33|0.488
48 | 1404|F| 0.9862| 0.1653| 0.6577| 0.2963| 0.0497| 1.72| 1.86|0.497
49 | 1404|N| 0.9863| 0.1649| 0.6569| 0.2962| 0.0495| 3.39| 2.40|0.497
50 | 1482|F|-0.3007|-0.9537|-0.6808|-0.1189|-0.3770| 2.32| 1.86|0.494
51 | 1482|N|-0.3010|-0.9536|-0.6823|-0.1189|-0.3767| 1.17| 1.87|0.494
52 | 1539|F| 0.7015|-0.7126| 0.6866| 0.3255|-0.3307| -0.90| 2.17|0.530
53 | 1539|N| 0.7015|-0.7128| 0.6877| 0.3257|-0.3309| 1.10| 2.46|0.530
54 | 1607|F|-0.9384|-0.3454|-0.6676|-0.5130|-0.1888| 1.47| 2.52|0.532
55 | 1607|N|-0.9379|-0.3469|-0.6657|-0.5129|-0.1897| -0.38| 2.59|0.532
56 | 1674|F|-0.2727|-0.9621| 0.6368|-0.1714|-0.6047| -1.40| 1.90|0.497
57 | 1674|N|-0.2721|-0.9623| 0.6358|-0.1710|-0.6045| 0.56| 2.08|0.497
58 | 1734|F|-0.8154| 0.5788|-0.6152|-0.5720| 0.4060| -0.77| 2.13|0.489
59 | 1734|N|-0.8155| 0.5789|-0.6171|-0.5718| 0.4059| 1.38| 2.21|0.489
60 | 1804|F|-0.9706|-0.2403| 0.6347|-0.7634|-0.1890| 2.38| 2.38|0.500
61 | 1804|N|-0.9704|-0.2418| 0.6340|-0.7629|-0.1901| 6.65| 2.40|0.500
62 | 1867|F| 0.1494| 0.9887|-0.6637| 0.1289| 0.8532| -1.19| 2.99|0.591
63 | 1867|N| 0.1489| 0.9889|-0.6630| 0.1285| 0.8534| 1.60| 3.40|0.591
64 | 2000|F| 0.9089| 0.4169|-0.6701| 0.9307| 0.4269| 2.16| 2.60|0.555
65 | 2000|N| 0.9089| 0.4171|-0.6688| 0.9309| 0.4272| -5.10| 2.94|0.555
66 | 2049|F| 0.0447| 0.9989| 0.6512| 0.0485| 1.0828| 2.20| 1.90|0.459
67 | 2049|N| 0.0447| 0.9991| 0.6501| 0.0485| 1.0827| 0.36| 1.84|0.459
68 | 2130|F| 0.8663|-0.4995|-0.6325| 1.0239|-0.5904| -1.19| 1.97|0.415
69 | 2130|N| 0.8663|-0.4995|-0.6325| 1.0240|-0.5904| -0.32| 1.51|0.415
70 | 2175|F| 0.8536| 0.5208| 0.6396| 1.0559| 0.6442| -1.77| 2.14|0.472
71 | 2175|N| 0.8540| 0.5203| 0.6379| 1.0562| 0.6434| 1.73| 3.11|0.472
72 | 2256|F| 0.0708|-0.9975|-0.6631| 0.0945|-1.3316| -0.91| 2.45|0.486
73 | 2256|N| 0.0716|-0.9974|-0.6624| 0.0955|-1.3316| 2.13| 3.61|0.486
74 | 2506|F|-0.9777| 0.2098|-0.6308|-1.6023| 0.3438| -2.46| 2.60|0.481
75 | 2506|N|-0.9779| 0.2092|-0.6306|-1.6026| 0.3428| -4.08| 3.67|0.481
76 | 2677|F|-0.9904| 0.1380| 0.6496|-1.8287| 0.2548| -4.44| 2.90|0.334
77 | 2677|N|-0.9900| 0.1415| 0.6472|-1.8280| 0.2613| -1.78| 5.40|0.334
78 |
--------------------------------------------------------------------------------
/htof/test/data_for_tests/Hip1/IntermediateData/999999.txt:
--------------------------------------------------------------------------------
1 | IH1 : 27321 Hipparcos Catalogue (HIP) identifier
2 | IH2 : 3.91 Provisional Hp magnitude used for the merging (mag)
3 | IH3 : 86.82118054 Right ascension alpha (deg)
4 | IH4 : -51.06671329 Declination delta (deg)
5 | IH5 : 51.87 Trigonometric parallax pi (mas)
6 | IH6 : 4.65 Proper motion in right ascension mu_alpha* (mas/year)
7 | IH7 : 81.96 Proper motion in declination mu_delta (mas/year)
8 | IH8 : 5 Code for adopted solution (5, 7, 9, C, O, V, X, -)
9 | IH9 : 66 Number of following abscissae records, N_A
10 | ABCISSAE
11 | A1 | |IA3 |IA4 |IA5 |IA6 |IA7 |IA8 |IA9 |IA10
12 | 133|f|-0.9053|-0.4248| 0.6270| 1.1264| 0.5285| -2.50| 2.21|0.393
13 | 133|n|-0.9051|-0.4252| 0.6263| 1.1265| 0.5291| -1.18| 1.59|0.393
14 | 194|f|-0.0721| 0.9974|-0.6469| 0.0844|-1.1670| -4.07| 2.26|0.392
15 | 194|n|-0.0760| 0.9972|-0.6454| 0.0889|-1.1670| 1.64| 1.57|0.392
16 | 257|f|-0.8772| 0.4801| 0.6742| 0.9591|-0.5250| 0.63| 2.08|0.473
17 | 257|N|-0.8772| 0.4802| 0.6730| 0.9594|-0.5252| 1.88| 2.23|0.473
18 | 327|F| 0.8132| 0.5819|-0.6770|-0.8200|-0.5867| -1.98| 2.01|0.473
19 | 327|n| 0.8127| 0.5827|-0.6769|-0.8196|-0.5877| -0.45| 2.13|0.473
20 | 458|N| 0.9462|-0.3237|-0.6396|-0.8036| 0.2749| 0.00| 2.01|
21 | 503|F| 0.7364| 0.6766| 0.6359|-0.5850|-0.5375| 1.82| 2.25|0.531
22 | 503|N| 0.7362| 0.6767| 0.6360|-0.5849|-0.5377| -0.15| 2.56|0.531
23 | 585|F| 0.2617|-0.9651|-0.6553|-0.1819| 0.6710| 1.33| 1.88|0.482
24 | 585|N| 0.2615|-0.9653|-0.6545|-0.1818| 0.6709| 1.96| 1.84|0.482
25 | 634|F| 0.9776|-0.2102| 0.6757|-0.6207| 0.1335| 1.90| 2.34|0.471
26 | 634|N| 0.9778|-0.2099| 0.6743|-0.6212| 0.1334| 2.67| 2.13|0.471
27 | 709|F|-0.6227|-0.7825|-0.6864| 0.3390| 0.4260| 2.91| 1.83|0.475
28 | 709|N|-0.6227|-0.7825|-0.6858| 0.3389| 0.4259| 1.45| 1.66|0.475
29 | 770|F| 0.3633|-0.9317| 0.6706|-0.1708| 0.4381| -2.74| 2.05|0.522
30 | 770|N| 0.3634|-0.9317| 0.6711|-0.1708| 0.4380| -1.04| 2.41|0.522
31 | 834|F|-0.9999| 0.0146|-0.6390| 0.3922|-0.0057| 0.62| 2.00|0.486
32 | 834|N|-0.9999| 0.0141|-0.6393| 0.3924|-0.0055| 0.00| 1.94|0.486
33 | 904|F|-0.6546|-0.7559| 0.6219| 0.2010| 0.2321| 0.84| 2.57|0.456
34 | 904|N|-0.6544|-0.7562| 0.6207| 0.2011| 0.2324| -1.62| 2.06|0.456
35 | 964|F|-0.4872| 0.8733|-0.6278| 0.1143|-0.2048| 0.37| 1.84|0.507
36 | 964|N|-0.4875| 0.8731|-0.6271| 0.1143|-0.2047| 2.29| 1.96|0.507
37 | 1031|F|-0.9902| 0.1397| 0.6533| 0.1514|-0.0214| -1.68| 2.09|0.512
38 | 1031|N|-0.9903| 0.1391| 0.6533| 0.1515|-0.0213| 0.13| 2.24|0.512
39 | 1097|F| 0.5293| 0.8484|-0.6758|-0.0385|-0.0617| -1.73| 1.76|0.475
40 | 1097|N| 0.5294| 0.8484|-0.6761|-0.0385|-0.0618| -0.43| 2.59|0.475
41 | 1153|F|-0.4993| 0.8664| 0.6742| 0.0024|-0.0042| -0.21| 2.07|0.513
42 | 1153|N|-0.4993| 0.8664| 0.6749| 0.0023|-0.0041| -0.38| 2.89|0.513
43 | 1229|F| 0.9986| 0.0523|-0.6526| 0.0876| 0.0046| 0.82| 2.25|0.554
44 | 1229|N| 0.9986| 0.0526|-0.6527| 0.0876| 0.0046| -2.12| 2.62|0.554
45 | 1275|N| 0.4236| 0.9061| 0.6351| 0.0608| 0.1301| -0.88| 2.34|
46 | 1276|F| 0.4188| 0.9080| 0.6430| 0.0605| 0.1312| 0.96| 2.78|0.488
47 | 1276|N| 0.4188| 0.9082| 0.6446| 0.0606| 0.1315| 5.27| 2.33|0.488
48 | 1404|F| 0.9862| 0.1653| 0.6577| 0.2963| 0.0497| 1.72| 1.86|0.497
49 | 1404|N| 0.9863| 0.1649| 0.6569| 0.2962| 0.0495| 3.39| 2.40|0.497
50 | 1482|F|-0.3007|-0.9537|-0.6808|-0.1189|-0.3770| 2.32| 1.86|0.494
51 | 1482|N|-0.3010|-0.9536|-0.6823|-0.1189|-0.3767| 1.17| 1.87|0.494
52 | 1539|F| 0.7015|-0.7126| 0.6866| 0.3255|-0.3307| -0.90| 2.17|0.530
53 | 1539|N| 0.7015|-0.7128| 0.6877| 0.3257|-0.3309| 1.10| 2.46|0.530
54 | 1607|F|-0.9384|-0.3454|-0.6676|-0.5130|-0.1888| 1.47| 2.52|0.532
55 | 1607|N|-0.9379|-0.3469|-0.6657|-0.5129|-0.1897| -0.38| 2.59|0.532
56 | 1674|F|-0.2727|-0.9621| 0.6368|-0.1714|-0.6047| -1.40| 1.90|0.497
57 | 1674|N|-0.2721|-0.9623| 0.6358|-0.1710|-0.6045| 0.56| 2.08|0.497
58 | 1734|F|-0.8154| 0.5788|-0.6152|-0.5720| 0.4060| -0.77| 2.13|0.489
59 | 1734|N|-0.8155| 0.5789|-0.6171|-0.5718| 0.4059| 1.38| 2.21|0.489
60 | 1804|F|-0.9706|-0.2403| 0.6347|-0.7634|-0.1890| 2.38| 2.38|0.500
61 | 1804|N|-0.9704|-0.2418| 0.6340|-0.7629|-0.1901| 6.65| 2.40|0.500
62 | 1867|F| 0.1494| 0.9887|-0.6637| 0.1289| 0.8532| -1.19| 2.99|0.591
63 | 1867|N| 0.1489| 0.9889|-0.6630| 0.1285| 0.8534| 1.60| 3.40|0.591
64 | 2000|F| 0.9089| 0.4169|-0.6701| 0.9307| 0.4269| 2.16| 2.60|0.555
65 | 2000|N| 0.9089| 0.4171|-0.6688| 0.9309| 0.4272| -5.10| 2.94|0.555
66 | 2049|F| 0.0447| 0.9989| 0.6512| 0.0485| 1.0828| 2.20| 1.90|0.459
67 | 2049|N| 0.0447| 0.9991| 0.6501| 0.0485| 1.0827| 0.36| 1.84|0.459
68 | 2130|F| 0.8663|-0.4995|-0.6325| 1.0239|-0.5904| -1.19| 1.97|0.415
69 | 2130|N| 0.8663|-0.4995|-0.6325| 1.0240|-0.5904| -0.32| 1.51|0.415
70 | 2175|F| 0.8536| 0.5208| 0.6396| 1.0559| 0.6442| -1.77| 2.14|0.472
71 | 2175|N| 0.8540| 0.5203| 0.6379| 1.0562| 0.6434| 1.73| 3.11|0.472
72 | 2256|F| 0.0708|-0.9975|-0.6631| 0.0945|-1.3316| -0.91| 2.45|0.486
73 | 2256|N| 0.0716|-0.9974|-0.6624| 0.0955|-1.3316| 2.13| 3.61|0.486
74 | 2506|F|-0.9777| 0.2098|-0.6308|-1.6023| 0.3438| -2.46| 2.60|0.481
75 | 2506|N|-0.9779| 0.2092|-0.6306|-1.6026| 0.3428| -4.08| 3.67|0.481
76 | 2677|F|-0.9904| 0.1380| 0.6496|-1.8287| 0.2548| -4.44| 2.90|0.334
77 | 2677|N|-0.9900| 0.1415| 0.6472|-1.8280| 0.2613| -1.78| 5.40|0.334
78 |
--------------------------------------------------------------------------------
/htof/test/data_for_tests/Hip21/IntermediateData/H114114.d:
--------------------------------------------------------------------------------
1 | # This file contains residual records, extracted from the Hipparcos 2
2 | # Interactive Data Access Tool (2014). For more information, see:
3 | # https://www.cosmos.esa.int/web/hipparcos/interactive-data-access
4 | # https://www.cosmos.esa.int/web/hipparcos/catalogues
5 | #
6 | # HIP MCE NRES NC isol_n SCE F2 F1
7 | # 114114 113730 83 1 5 0 1.56 0
8 | # Hp B-V VarAnn NOB NR
9 | # 9.1485 1.010 1 79 0
10 | # RAdeg DEdeg Plx pm_RA pm_DE e_RA e_DE e_Plx e_pmRA e_pmDE dpmRA dpmDE e_dpmRA e_dpmDE ddpmRA ddpmDE e_ddpmRA e_ddpmDE upsRA upsDE e_upsRA e_upsDE var
11 | # 346.66316449 10.54338164 2.91 11.17 -10.36 2.13 1.11 2.38 1.08 1.24 --- --- --- --- --- --- --- --- --- --- --- --- ---
12 | #
13 | # IORB EPOCH PARF CPSI SPSI RES SRES
14 | 104 -1.2797 -0.6606 0.2929 0.9562 -5.20 9.23
15 | 105 -1.2789 -0.6573 0.2879 0.9577 -2.36 9.23
16 | 153 -1.2203 0.4818 -0.9120 0.4102 -4.65 2.86
17 | 423 -0.8919 -0.4732 -0.3071 -0.9517 2.79 3.20
18 | 423 -0.8919 -0.4728 -0.3067 -0.9518 4.05 3.31
19 | 423 -0.8919 -0.4704 -0.3036 -0.9528 2.02 4.00
20 | 423 -0.8919 -0.4705 -0.3037 -0.9528 -0.96 2.29
21 | 472 -0.8323 0.6683 0.8908 -0.4544 2.11 2.04
22 | 472 -0.8323 0.6703 0.8920 -0.4520 5.10 2.09
23 | 472 -0.8323 0.6703 0.8920 -0.4520 -2.22 1.72
24 | 472 -0.8323 0.6718 0.8930 -0.4501 -2.69 2.14
25 | 472 -0.8323 0.6720 0.8930 -0.4500 3.51 2.48
26 | 533 -0.7582 -0.6404 -0.2246 -0.9745 -1.84 2.71
27 | 533 -0.7582 -0.6408 -0.2253 -0.9743 -1.29 2.03
28 | 533 -0.7582 -0.6429 -0.2279 -0.9737 10.82 8.79
29 | 833 -0.3936 0.3987 -0.6727 0.7399 -7.70 10.73
30 | 833 -0.3936 0.3940 -0.6679 0.7443 12.63 8.79
31 | 833 -0.3936 0.3948 -0.6684 0.7438 -4.98 10.72
32 | 869 -0.3499 -0.5995 0.3579 0.9338 -1.70 10.86
33 | 869 -0.3499 -0.6022 0.3618 0.9322 4.44 12.08
34 | 869 -0.3499 -0.6017 0.3609 0.9326 -0.74 11.17
35 | 934 -0.2708 0.6465 -0.9291 0.3698 4.52 8.24
36 | 934 -0.2708 0.6485 -0.9299 0.3677 -7.22 10.15
37 | 1213 0.0682 -0.0123 0.1414 -0.9900 -12.18 9.27
38 | 1213 0.0682 -0.0120 0.1425 -0.9898 5.39 10.03
39 | 1213 0.0682 -0.0080 0.1472 -0.9891 -9.03 7.74
40 | 1213 0.0682 -0.0056 0.1504 -0.9886 -1.05 5.86
41 | 1213 0.0682 -0.0028 0.1540 -0.9881 -1.56 7.80
42 | 1213 0.0682 -0.0006 0.1572 -0.9876 5.94 7.52
43 | 1213 0.0682 0.0020 0.1608 -0.9870 2.23 6.83
44 | 1213 0.0682 0.0034 0.1625 -0.9867 1.68 7.55
45 | 1214 0.0694 0.0105 0.1749 -0.9846 7.58 5.94
46 | 1214 0.0694 0.0154 0.1824 -0.9832 -8.40 8.45
47 | 1214 0.0694 0.0143 0.1809 -0.9835 2.45 8.33
48 | 1214 0.0694 0.0202 0.1878 -0.9822 -0.12 8.71
49 | 1214 0.0694 0.0193 0.1872 -0.9823 5.91 4.81
50 | 1214 0.0694 0.0257 0.1956 -0.9807 -3.10 5.07
51 | 1214 0.0694 0.0245 0.1938 -0.9810 3.75 4.84
52 | 1225 0.0827 0.2718 0.5231 -0.8523 4.24 4.74
53 | 1225 0.0827 0.2737 0.5254 -0.8508 6.97 4.64
54 | 1225 0.0827 0.2764 0.5285 -0.8489 -8.89 4.46
55 | 1225 0.0827 0.2780 0.5310 -0.8474 -5.16 6.69
56 | 1225 0.0827 0.2813 0.5341 -0.8454 -11.49 8.35
57 | 1225 0.0827 0.2841 0.5375 -0.8433 2.13 8.60
58 | 1226 0.0839 0.2912 0.5464 -0.8375 -10.24 8.21
59 | 1226 0.0839 0.2953 0.5518 -0.8340 -2.53 8.90
60 | 1226 0.0839 0.2955 0.5520 -0.8338 -0.07 8.09
61 | 1226 0.0839 0.3005 0.5573 -0.8303 -3.65 10.02
62 | 1226 0.0839 0.3013 0.5578 -0.8300 1.34 7.60
63 | 1226 0.0839 0.3064 0.5636 -0.8260 -8.25 4.14
64 | 1227 0.0850 0.3153 0.5748 -0.8183 5.45 2.89
65 | 1227 0.0850 0.3143 0.5732 -0.8194 5.03 3.80
66 | 1311 0.1872 -0.6898 -0.3447 -0.9387 1.33 2.10
67 | 1311 0.1872 -0.6898 -0.3447 -0.9387 1.83 2.05
68 | 1311 0.1872 -0.6892 -0.3439 -0.9390 3.81 4.88
69 | 1311 0.1872 -0.6886 -0.3432 -0.9393 1.01 3.17
70 | 1311 0.1872 -0.6889 -0.3435 -0.9391 0.90 5.42
71 | 1388 0.2808 0.5033 0.9150 -0.4035 1.70 3.98
72 | 1388 0.2808 0.5019 0.9144 -0.4049 -12.80 3.73
73 | 1388 0.2808 0.4981 0.9122 -0.4098 -9.12 3.61
74 | 1388 0.2808 0.4980 0.9121 -0.4099 -0.55 3.16
75 | 1389 0.2820 0.4874 0.9085 -0.4178 0.94 3.46
76 | 1415 0.3136 -0.2460 0.3091 -0.9510 -1.03 2.58
77 | 1416 0.3148 -0.2551 0.2985 -0.9544 15.63 10.35
78 | 1416 0.3148 -0.2552 0.2989 -0.9543 5.64 14.05
79 | 1416 0.3148 -0.2593 0.2934 -0.9560 -15.86 14.40
80 | 1416 0.3148 -0.2595 0.2929 -0.9561 8.24 12.09
81 | 1780 0.7570 -0.5834 0.1713 0.9852 16.37 14.51
82 | 1780 0.7570 -0.5800 0.1663 0.9861 -11.19 11.33
83 | 1780 0.7570 -0.5786 0.1651 0.9863 27.27 15.26
84 | 1780 0.7570 -0.5771 0.1625 0.9867 -19.60 14.28
85 | 1817 0.8019 0.3288 -0.8597 0.5108 -4.33 9.75
86 | 1817 0.8019 0.3294 -0.8601 0.5101 2.83 5.70
87 | 1817 0.8019 0.3328 -0.8621 0.5067 5.15 4.60
88 | 1817 0.8019 0.3339 -0.8630 0.5053 9.72 6.99
89 | 1818 0.8032 0.3364 -0.8679 0.4967 2.74 2.55
90 | 2090 1.1334 -0.5836 -0.3543 -0.9351 -0.37 3.20
91 | 2090 1.1334 -0.5833 -0.3540 -0.9352 2.35 3.37
92 | 2090 1.1334 -0.5820 -0.3521 -0.9360 -6.19 4.00
93 | 2149 1.2051 0.6878 0.9225 -0.3860 2.52 2.55
94 | 2149 1.2051 0.6879 0.9225 -0.3859 -0.60 3.20
95 | 2149 1.2051 0.6885 0.9229 -0.3851 2.12 3.37
96 | 2149 1.2051 0.6875 0.9223 -0.3864 -6.41 4.00
97 |
--------------------------------------------------------------------------------
/htof/utils/fit_utils.py:
--------------------------------------------------------------------------------
1 | """
2 | Module for generating the chi-squared matrix (and vectors) for the N parameter fit to the epoch astrometry.
3 | """
4 |
5 | import numpy as np
6 | from htof.polynomial import polynomial
7 |
8 | FIT_BASIS = polynomial.TaylorSeries
9 | FIT_VANDER = polynomial.taylorvander
10 | # FIT_VANDER must follow np.polynomial.polynomial.Polynomial and
11 | # np.polynomial.polynomial.polyvander syntax, respectively. For example, one could set:
12 | # FIT_BASIS = np.polynomial.polynomial.Polynomial
13 | # FIT_VANDER = np.polynomial.polynomial.polyvander
14 | # if they wanted to use a polynomial basis without the 1/2, 1/6 etc... prefactors.
15 |
16 |
17 | def _evaluate_basis_functions(w_ra, w_dec, ra_t, dec_t, vander, deg):
18 | f = np.hstack([[w_ra], np.zeros(2*deg + 2)])
19 | g = np.hstack([[w_dec], np.zeros(2*deg + 2)])
20 | f[1:][::2], g[1:][1::2] = vander(ra_t, deg), vander(dec_t, deg)
21 | return f, g
22 |
23 |
24 | def ra_sol_vec(a, b, c, d, ra_t, dec_t, w_ra=0, w_dec=0, vander=FIT_VANDER, deg=3):
25 | """
26 | :params floats a,b,c,d: components of the inverse covariance matrix for the observation.
27 | i.e. the ivar matrix should be np.array([[a, b],[c, d]])
28 | :param ra_t: delta t for right ascension
29 | :param dec_t: delta t declination
30 | :param w_ra: pertubation from parallax alone for right ascension
31 | :param w_dec: pertubation from parallax alone for declination
32 | :param deg: degree for the fit in ra and dec.
33 | :param vander: method such that vander(t, degree) returns an array of shape (1, degree+1) with the basis
34 | functions evaluated at the time t. E.g. if vander= np.polynomial.polynomial.polyvander then basis(5, 3) returns
35 | array([[ 1., 5., 25., 125.]])
36 | This return is typically called the Vandermonde matrix. E.g. for Legendre polynomial basis we would feed
37 | vander=np.polynomial.legendre.legvander
38 | :return:
39 | """
40 | f, g = _evaluate_basis_functions(w_ra, w_dec, ra_t, dec_t, vander=vander, deg=deg)
41 | ra_vec = np.array([a*f[i] + (b+c)/2*g[i] for i in range(2*deg + 3)], dtype=float)
42 | return ra_vec
43 |
44 |
45 | def dec_sol_vec(a, b, c, d, ra_t, dec_t, w_ra=0, w_dec=0, vander=FIT_VANDER, deg=3):
46 | """
47 | :params floats a,b,c,d: components of the inverse covariance matrix for the observation.
48 | i.e. the ivar matrix should be np.array([[a, b],[c, d]])
49 | :param ra_t: delta t for right ascension
50 | :param dec_t: delta t declination
51 | :param w_ra: pertubation from parallax alone for right ascension
52 | :param w_dec: pertubation from parallax alone for declination
53 | :param deg: degree for the fit in ra and dec.
54 | :param vander: method such that vander(t, degree) returns an array of shape (1, degree+1) with the basis
55 | functions evaluated at the time t. E.g. if vander= np.polynomial.polynomial.polyvander then basis(5, 3) returns
56 | array([[ 1., 5., 25., 125.]])
57 | This return is typically called the Vandermonde matrix. E.g. for Legendre polynomial basis we would feed
58 | vander=np.polynomial.legendre.legvander
59 | :return:
60 | """
61 | f, g = _evaluate_basis_functions(w_ra, w_dec, ra_t, dec_t, vander=vander, deg=deg)
62 | dec_vec = np.array([(b+c)/2*f[i] + d*g[i] for i in range(2*deg + 3)], dtype=float)
63 | return dec_vec
64 |
65 |
66 | def chi2_matrix(a, b, c, d, ra_t, dec_t, w_ra=0, w_dec=0, vander=FIT_VANDER, deg=3):
67 | """
68 | :params floats a,b,c,d: components of the inverse covariance matrix for the observation.
69 | i.e. the ivar matrix should be np.array([[a, b],[c, d]])
70 | :param ra_t: delta t for right ascension
71 | :param dec_t: delta t declination
72 | :param w_ra: pertubation from parallax alone for right ascension
73 | :param w_dec: pertubation from parallax alone for declination
74 | :param deg: degree for the fit in ra and dec.
75 | :param vander: method such that vander(t, degree) returns an array of shape (1, degree+1) with the basis
76 | functions evaluated at the time t. E.g. if vander= np.polynomial.polynomial.polyvander then basis(5, 3) returns
77 | array([[ 1., 5., 25., 125.]])
78 | This return is typically called the Vandermonde matrix. E.g. for Legendre polynomial basis we would feed
79 | vander=np.polynomial.legendre.legvander
80 | :return:
81 | """
82 |
83 | A = np.zeros((2*deg + 3, 2*deg + 3), dtype=np.float32)
84 | f, g = _evaluate_basis_functions(w_ra, w_dec, ra_t, dec_t, vander=vander, deg=deg)
85 | # note that b = c for any realistic covariance (or inverse covariance) matrix.
86 | for k in range(A.shape[0]):
87 | A[k] = [f[i] * a * f[k] + g[i] * (b+c)/2 * f[k] +
88 | f[i] * (b+c)/2 * g[k] + g[i] * d * g[k] for i in range(2*deg + 3)]
89 | return np.array(A, dtype=float)
90 |
91 |
92 | def chisq_of_fit(coeffs, ra, dec, ra_epochs, dec_epochs, inv_covs, ra_plx=None,
93 | dec_plx=None, use_parallax=True, basis=FIT_BASIS):
94 | ra_model = basis(coeffs[1 * use_parallax:][::2])(ra_epochs)
95 | dec_model = basis(coeffs[1 * use_parallax:][1::2])(dec_epochs)
96 | if use_parallax:
97 | ra_model += coeffs[0] * ra_plx
98 | dec_model += coeffs[0] * dec_plx
99 |
100 | residuals = np.hstack([(ra - ra_model).reshape(-1, 1), (dec - dec_model).reshape(-1, 1)])
101 | chisquared = 0
102 | for i in range(len(ra_model)):
103 | chisquared += np.matmul(np.matmul(residuals[i], inv_covs[i]), residuals[i])
104 | return chisquared, residuals
105 |
--------------------------------------------------------------------------------
/htof/utils/data_utils.py:
--------------------------------------------------------------------------------
1 | import numpy as np
2 | import pandas as pd
3 |
4 |
5 | def merge_consortia(data):
6 | """
7 | :param data: pandas.DataFrame. The intermediate astrometric data for a Hipparcos 1 source.
8 | :return: merged_data: pandas.DataFrame.
9 | The input data with merged residuals, errors, sin(scan_angle), cos(scan_angle), epochs etc. The
10 | residuals and errors (along-scan errors) are merged according the Hipparcos and Tycho Catalogues Vol 3
11 | Section "Astrometric Catalogue Merging" (page 377).
12 |
13 | This function takes the merged sin of the scan angle and epochs etc to be the weighted mean of
14 | those from both consortia (weighted by the covariance between observations, see `More' below).
15 |
16 | Before merging, observations that were rejected by the Hipparcos team (flagged with lowercase f or n in
17 | the consortia (IA2) column) are removed and not used for merging. See the description of Field IA2 in
18 | the Hipparcos and Tycho Catalogues Vol 1, page 260.
19 |
20 | More: The intermediate astrometric data provides the correlation coefficients between the values
21 | for the residuals and errors obtained by the NDAC and FAST consortia. One can then rebuild the covariance
22 | between the measurements of those two consortia (i.e. treating their results as correlated measurements of
23 | some unknown value -- which is the merged value we are after). Given the covariance matrix for one orbit, C
24 | from equation 17.11 of the Hipparcos and Tycho Catalogues Vol 3 (page 377):
25 | C = np.asarray([[errF[i]**2, errN[i]*errF[i]*corr[i]],
26 | [errN[i]*errF[i]*corr[i], errN[i]**2]])
27 | Where errN[i] is the NDAC along-scan error at the ith epoch, and errF is the FAST error, and corr[i] is the
28 | correlation between the two measurements (column IA10). The merged residual is then the value which minimizes
29 | the chisquared = (residual - merged_residual) C^(-1) (residual - merged_residual)
30 | with matrix dot products implied and residual = the vector of residuals = [NDAC residual, FAST residual]
31 | The merged error is 1/sum(C^(-1))**0.5
32 | Where C^(-1) is the matrix inverse of the covariance matrix C.
33 | """
34 | # exclude observations that were rejected for the merged solution (those with n, f instead of N, F)
35 | data.drop(np.argwhere(np.logical_or((data['IA2'] == 'n').to_numpy(),
36 | (data['IA2'] == 'f').to_numpy())).flatten(), inplace=True)
37 | # We transform to Numpy arrays because accessing and editing panda arrays is slower by factors of tens.
38 | cols_to_merge = ['A1', 'IA3', 'IA4', 'IA5', 'IA6', 'IA7', 'IA8', 'IA9', 'IA10']
39 | data_asarray = data[cols_to_merge].to_numpy()
40 | # merge data
41 | merged_data = _merge_orbits(data_asarray)
42 | merged_data = pd.DataFrame(merged_data, columns=cols_to_merge)
43 | merged_data['IA2'] = 'M'
44 | return merged_data
45 |
46 |
47 | def _merge_orbits(data):
48 | """
49 | :param data: ndarray. Intermediate Data for a single Hipparcos 1 orbit.
50 | data must be a 2D array such that
51 | data[:, -1] = column IA10 (correlation coeff). Note data[:, -1] is the last column of data
52 | data[:, -2] = column IA9 (formal error along scan)
53 | data[:, -3] = column IA8 (residual along scan)
54 | data[:, 0] = column A1 (the orbit number)
55 | :return merged_orbit: ndarray. Merged intermediate astrometric data for a single orbit.
56 | Will have shape (m, N), where m is the number of unique orbits in data, i.e. m = len(np.unique(data[:, 0]))
57 | """
58 | # find single consortia orbits (either NDAC or FAST but not both)
59 | orbs, indices, counts = np.unique(data[:, 0], return_index=True, return_counts=True)
60 | # omit merging orbits with only a single consortium
61 | single_orbits = data[indices[counts == 1]]
62 | data = np.delete(data, indices[counts == 1], axis=0)
63 | # generate weights for merging
64 | err1, err2, corr = data[::2, -2], data[1::2, -2], data[::2, -1]
65 | icov = np.linalg.pinv(np.array([[err1 ** 2, err2 * err1 * corr],
66 | [err2 * err1 * corr, err2 ** 2]]).T.reshape((-1, 2, 2)))
67 | # constructing the weights via the best linear estimator method (which seeks to minimize the variance).
68 | weights = np.array([np.sum(np.dot([1, 0], icov), axis=1), np.sum(np.dot([0, 1], icov), axis=1)])
69 | weights /= np.sum(np.sum(icov, axis=-1), axis=-1) # normalize weights by sum of elements of each icov matrix.
70 | # merge data
71 | merged_data = weights[0].reshape(-1, 1) * data[::2] + weights[1].reshape(-1, 1) * data[1::2]
72 | # evaluate variances on the BLUE estimator x'. Var(x') = w0^2*Var(x0) + w1^2*Var(x1) + 2 * w1 * w0 * Cov(x1, x2)
73 | # where w1, w2 are the weights and x' is the merged result computed above.
74 | merged_data[:, -2] = weights[0] ** 2 * err1 ** 2 + weights[1] ** 2 * err2 ** 2 + \
75 | 2 * corr * err1 * err2 * weights[0] * weights[1]
76 | # convert the variances to standard deviations
77 | merged_data[:, -2] = np.sqrt(merged_data[:, -2])
78 | # stack the merged_data back with the orbits with a single consortia (that could therefore not be merged)
79 | merged_data = np.vstack((merged_data, single_orbits))
80 | return merged_data[np.argsort(merged_data[:, 0])]
81 |
82 |
83 | def safe_concatenate(a, b):
84 | if a is None and b is None:
85 | return None
86 | if a is None and b is not None:
87 | return b
88 | if a is not None and b is None:
89 | return a
90 | return np.concatenate([a, b])
91 |
--------------------------------------------------------------------------------
/htof/main.py:
--------------------------------------------------------------------------------
1 | """
2 | Driver script for htof.
3 | The Astrometry class is what a user should use to both parse and fit the intermediate astrometric data.
4 |
5 | Author: G. Mirek Brandt
6 | """
7 |
8 | from astropy.time import Time
9 | from astropy.coordinates import Angle
10 | import warnings
11 |
12 | from htof.fit import AstrometricFitter
13 | from htof.special_parse import to_ra_dec_basis, Hipparcos2Recalibrated, Hipparcos2ParserFactory
14 | from htof.parse import GaiaeDR3, GaiaDR2, GaiaData
15 | from htof.parse import HipparcosOriginalData, HipparcosRereductionJavaTool, HipparcosRereductionDVDBook
16 | from htof.sky_path import parallactic_motion, earth_ephemeris, earth_sun_l2_ephemeris
17 |
18 |
19 | class Astrometry(object):
20 | """
21 | General wrapper for the different fitting and parsing classes.
22 |
23 | :param use_catalog_parallax_factors: True if you want to load and use the hipparcos catalog parallax factors given
24 | with the IAD, or the gaia parallax factors shipped with the GOST scanning law.
25 | Set to False if you want to recompute the parallax factors. Default is False.
26 |
27 | data_choice hip2or21 will attempt to see if the input data file is Hip2 (DVD) or Hip21 (java tool), then proceed accordingly.
28 | """
29 | parsers = {'gaiaedr3': GaiaeDR3, 'gaiadr2': GaiaDR2, 'gaia': GaiaData, 'hip21': HipparcosRereductionJavaTool,
30 | 'hip1': HipparcosOriginalData, 'hip2': HipparcosRereductionDVDBook, 'hip2or21': Hipparcos2ParserFactory,
31 | 'hip2recalibrated': Hipparcos2Recalibrated}
32 | ephemeri = {'gaiadr2': earth_sun_l2_ephemeris, 'gaia': earth_sun_l2_ephemeris, 'gaiaedr3': earth_sun_l2_ephemeris,
33 | 'hip1': earth_ephemeris, 'hip2': earth_ephemeris, 'hip21': earth_ephemeris, 'hip2or21': earth_ephemeris,
34 | 'hip2recalibrated': earth_ephemeris}
35 |
36 | def __init__(self, data_choice, star_id, intermediate_data_directory, fitter=None, data=None,
37 | central_epoch_ra=0, central_epoch_dec=0, format='jd', fit_degree=1,
38 | use_parallax=False, central_ra=None, central_dec=None,
39 | use_catalog_parallax_factors=False, along_scan_error_scaling=1.0, **kwargs):
40 | self.along_scan_error_scaling = along_scan_error_scaling
41 | if data_choice.lower() == 'hip2recalibrated':
42 | warnings.warn(f'You have selected {data_choice}, the recalibrated Hipparcos 2 data. Note that for this,'
43 | f' you should be feeding in the filepaths to the Hip21 (Hip2 java tool data), because'
44 | f' htof applies the recalibration on-the-fly for each file. As well, be sure to read'
45 | f' Brandt et al. 2022 to understand the limitations of using the recalibrated data. ') # pragma: no cover
46 |
47 | if data is None:
48 | ThisDataParser = self.parsers[data_choice.lower()]
49 | data = ThisDataParser.parse_and_instantiate(star_id=star_id,
50 | intermediate_data_directory=intermediate_data_directory)
51 | data.scale_along_scan_errs(self.along_scan_error_scaling)
52 | data.calculate_inverse_covariance_matrices()
53 |
54 | parallactic_pertubations = None
55 | if use_parallax:
56 | if not use_catalog_parallax_factors:
57 | # recompute the parallax factors at the new central_ra and central_ra epoch.
58 | if not (isinstance(central_ra, Angle) and isinstance(central_dec, Angle)):
59 | raise ValueError('Cannot compute parallax factors. central_ra and central_dec must be instances'
60 | ' of astropy.coordinates.Angle.') # pragma: no cover
61 | if central_epoch_dec != central_epoch_ra:
62 | warnings.warn('central_epoch_dec != central_epoch_ra. '
63 | 'Using central_epoch_ra as the central_epoch to compute the parallax motion.',
64 | UserWarning) # pragma: no cover
65 | ra_motion, dec_motion = parallactic_motion(Time(data.julian_day_epoch(), format='jd').jyear,
66 | central_ra.mas, central_dec.mas, 'mas',
67 | Time(central_epoch_ra, format=format).jyear,
68 | ephemeris=self.ephemeri[data_choice.lower()])
69 | else:
70 | ra_motion, dec_motion = to_ra_dec_basis(data.parallax_factors.values, data.scan_angle.values)
71 | parallactic_pertubations = {'ra_plx': ra_motion, 'dec_plx': dec_motion}
72 |
73 | if fitter is None and data is not None:
74 | fitter = AstrometricFitter(inverse_covariance_matrices=data.inverse_covariance_matrix,
75 | epoch_times=Time(Time(data.julian_day_epoch(), format='jd'), format=format).value,
76 | central_epoch_dec=Time(central_epoch_dec, format=format).value,
77 | central_epoch_ra=Time(central_epoch_ra, format=format).value,
78 | fit_degree=fit_degree,
79 | use_parallax=use_parallax,
80 | parallactic_pertubations=parallactic_pertubations)
81 | self.data = data
82 | self.fitter = fitter
83 |
84 | def fit(self, ra_vs_epoch, dec_vs_epoch, return_all=False):
85 | return self.fitter.fit_line(ra_vs_epoch=ra_vs_epoch, dec_vs_epoch=dec_vs_epoch, return_all=return_all)
86 |
87 | def optimal_central_epochs(self):
88 | return {'ra': self.fitter.find_optimal_central_epoch('ra'), 'dec': self.fitter.find_optimal_central_epoch('dec')}
89 |
--------------------------------------------------------------------------------
/htof/test/data_for_tests/Hip2/IntermediateData/HIP027321.d:
--------------------------------------------------------------------------------
1 | 27321 27251 111 1 5 0 -1.81 0
2 | 133 -1.245 0.624 -0.9065 -0.4222 -1.00 0.81
3 | 133 -1.245 0.626 -0.9050 -0.4254 -0.31 0.80
4 | 133 -1.245 0.622 -0.9076 -0.4198 -1.66 0.78
5 | 194 -1.170 -0.651 -0.0680 0.9977 0.39 0.78
6 | 194 -1.170 -0.649 -0.0716 0.9974 -0.79 0.86
7 | 194 -1.170 -0.648 -0.0723 0.9974 -0.64 0.87
8 | 257 -1.094 0.671 -0.8760 0.4823 0.01 0.80
9 | 257 -1.094 0.674 -0.8778 0.4790 -0.23 0.78
10 | 257 -1.094 0.671 -0.8756 0.4830 -0.20 0.85
11 | 327 -1.009 -0.679 0.8136 0.5814 0.19 0.75
12 | 327 -1.009 -0.680 0.8147 0.5799 0.02 0.82
13 | 327 -1.009 -0.679 0.8137 0.5813 -1.26 0.81
14 | 458 -0.849 -0.641 0.9457 -0.3250 0.51 0.91
15 | 458 -0.849 -0.641 0.9457 -0.3250 -1.01 0.82
16 | 458 -0.849 -0.640 0.9461 -0.3240 0.25 1.06
17 | 458 -0.849 -0.641 0.9457 -0.3250 -1.17 0.84
18 | 458 -0.849 -0.640 0.9458 -0.3247 -1.04 0.80
19 | 503 -0.794 0.637 0.7353 0.6777 0.75 0.95
20 | 503 -0.794 0.636 0.7367 0.6762 -0.01 0.82
21 | 503 -0.794 0.636 0.7365 0.6764 -0.51 1.10
22 | 503 -0.794 0.636 0.7365 0.6765 -0.34 0.96
23 | 585 -0.695 -0.656 0.2592 -0.9658 -0.22 0.70
24 | 585 -0.695 -0.655 0.2602 -0.9656 -0.52 0.86
25 | 585 -0.695 -0.655 0.2609 -0.9654 0.73 0.81
26 | 634 -0.636 0.674 0.9777 -0.2102 -0.19 0.80
27 | 709 -0.544 -0.687 -0.6238 -0.7816 0.02 0.67
28 | 709 -0.544 -0.685 -0.6225 -0.7826 0.09 0.73
29 | 709 -0.544 -0.685 -0.6216 -0.7833 -0.41 0.72
30 | 709 -0.544 -0.686 -0.6226 -0.7826 -0.21 0.76
31 | 770 -0.470 0.673 0.3654 -0.9308 -1.15 0.84
32 | 770 -0.470 0.672 0.3640 -0.9314 -0.04 0.84
33 | 834 -0.392 -0.640 -0.9999 0.0141 0.66 0.78
34 | 834 -0.392 -0.643 -0.9998 0.0182 -0.21 0.81
35 | 834 -0.392 -0.640 -0.9999 0.0145 -1.21 0.84
36 | 834 -0.392 -0.642 -0.9998 0.0177 0.20 0.76
37 | 904 -0.307 0.617 -0.6578 -0.7532 0.20 0.71
38 | 904 -0.307 0.617 -0.6584 -0.7526 0.05 0.74
39 | 964 -0.234 -0.625 -0.4897 0.8719 -0.86 0.78
40 | 964 -0.234 -0.623 -0.4919 0.8706 0.36 1.24
41 | 964 -0.234 -0.623 -0.4930 0.8700 -1.03 0.86
42 | 964 -0.234 -0.628 -0.4859 0.8740 -0.30 0.86
43 | 964 -0.234 -0.625 -0.4904 0.8715 0.82 0.83
44 | 1031 -0.153 0.655 -0.9905 0.1376 0.10 0.73
45 | 1031 -0.153 0.651 -0.9899 0.1420 -0.37 0.88
46 | 1031 -0.153 0.654 -0.9903 0.1389 -0.49 0.84
47 | 1031 -0.153 0.652 -0.9901 0.1404 -0.85 0.84
48 | 1097 -0.073 -0.675 0.5283 0.8491 -2.09 1.11
49 | 1097 -0.073 -0.679 0.5330 0.8461 -0.90 1.08
50 | 1097 -0.073 -0.677 0.5301 0.8479 -0.25 0.89
51 | 1097 -0.073 -0.677 0.5305 0.8477 0.14 1.16
52 | 1097 -0.073 -0.678 0.5318 0.8469 -0.05 0.80
53 | 1153 -0.005 0.675 -0.4994 0.8664 0.04 0.83
54 | 1153 -0.005 0.676 -0.5006 0.8657 0.21 0.91
55 | 1153 -0.005 0.675 -0.4995 0.8663 0.73 1.15
56 | 1153 -0.005 0.675 -0.4995 0.8663 -1.65 0.98
57 | 1229 0.088 -0.653 0.9986 0.0528 0.30 0.86
58 | 1229 0.088 -0.654 0.9987 0.0518 -0.53 1.04
59 | 1229 0.088 -0.654 0.9987 0.0513 -0.11 1.00
60 | 1229 0.088 -0.654 0.9987 0.0516 -0.84 0.83
61 | 1275 0.144 0.636 0.4213 0.9069 0.34 0.85
62 | 1276 0.145 0.644 0.4193 0.9078 -0.45 0.77
63 | 1404 0.300 0.657 0.9862 0.1654 -0.43 1.06
64 | 1404 0.300 0.656 0.9864 0.1643 1.55 0.96
65 | 1404 0.300 0.657 0.9861 0.1661 0.71 0.90
66 | 1404 0.300 0.657 0.9861 0.1659 -0.75 0.79
67 | 1404 0.300 0.658 0.9860 0.1665 -2.69 1.19
68 | 1404 0.300 0.658 0.9861 0.1664 -1.40 1.09
69 | 1482 0.395 -0.683 -0.3021 -0.9533 0.38 0.85
70 | 1482 0.395 -0.683 -0.3023 -0.9532 -1.30 1.06
71 | 1482 0.395 -0.682 -0.3009 -0.9536 0.11 0.83
72 | 1482 0.395 -0.683 -0.3023 -0.9532 1.19 1.15
73 | 1539 0.464 0.690 0.7038 -0.7104 -0.50 0.85
74 | 1539 0.464 0.691 0.7044 -0.7098 1.08 1.22
75 | 1539 0.464 0.689 0.7033 -0.7109 -0.49 0.88
76 | 1539 0.464 0.689 0.7027 -0.7115 1.45 1.07
77 | 1607 0.547 -0.664 -0.9372 -0.3487 -1.27 1.23
78 | 1607 0.547 -0.665 -0.9374 -0.3483 -0.21 0.93
79 | 1674 0.628 0.631 -0.2787 -0.9604 -1.03 1.07
80 | 1674 0.628 0.634 -0.2749 -0.9615 -1.85 1.17
81 | 1674 0.628 0.633 -0.2756 -0.9613 0.30 1.21
82 | 1674 0.628 0.631 -0.2785 -0.9604 -0.98 0.83
83 | 1734 0.701 -0.623 -0.8109 0.5853 1.93 0.77
84 | 1734 0.701 -0.620 -0.8130 0.5823 -0.85 1.18
85 | 1734 0.701 -0.622 -0.8121 0.5835 -0.05 1.19
86 | 1735 0.702 -0.621 -0.8083 0.5888 -1.82 1.18
87 | 1804 0.786 0.630 -0.9717 -0.2363 0.09 0.77
88 | 1804 0.786 0.630 -0.9715 -0.2369 -0.34 0.77
89 | 1867 0.863 -0.664 0.1487 0.9889 -0.58 0.76
90 | 2000 1.024 -0.669 0.9088 0.4172 -0.23 0.91
91 | 2049 1.084 0.650 0.0446 0.9990 0.04 0.73
92 | 2049 1.084 0.650 0.0441 0.9990 -0.02 0.77
93 | 2049 1.084 0.650 0.0440 0.9990 -0.24 0.72
94 | 2049 1.084 0.650 0.0441 0.9990 0.38 0.72
95 | 2130 1.182 -0.633 0.8661 -0.4999 -0.27 0.70
96 | 2130 1.182 -0.633 0.8659 -0.5002 -0.17 0.91
97 | 2130 1.182 -0.632 0.8661 -0.4998 -0.16 0.90
98 | 2130 1.182 -0.632 0.8661 -0.4999 -1.14 0.98
99 | 2175 1.237 0.640 0.8524 0.5229 -0.59 1.30
100 | 2175 1.237 0.640 0.8523 0.5231 -1.31 0.97
101 | 2175 1.237 0.638 0.8536 0.5210 0.17 1.05
102 | 2175 1.237 0.638 0.8537 0.5207 0.88 1.18
103 | 2256 1.335 -0.663 0.0709 -0.9975 -0.22 1.26
104 | 2256 1.335 -0.664 0.0702 -0.9975 0.26 0.97
105 | 2506 1.639 -0.632 -0.9775 0.2107 -0.51 0.76
106 | 2506 1.639 -0.628 -0.9787 0.2055 -0.17 0.92
107 | 2506 1.639 -0.630 -0.9781 0.2081 0.04 0.84
108 | 2506 1.639 -0.633 -0.9771 0.2128 0.39 0.89
109 | 2506 1.639 -0.628 -0.9786 0.2058 -0.28 0.81
110 | 2677 1.846 0.652 -0.9908 0.1352 -0.03 0.85
111 | 2677 1.846 0.651 -0.9904 0.1380 -2.97 1.63
112 | 2677 1.846 0.651 -0.9906 0.1364 -0.69 0.83
113 |
--------------------------------------------------------------------------------
/htof/test/data_for_tests/Hip2/IntermediateData/HIP000039.d:
--------------------------------------------------------------------------------
1 | 39 39 114 1 5 0 0.97 0
2 | 434 -0.878 -0.528 -0.0603 -0.9982 4.24 3.10
3 | 435 -0.877 -0.524 -0.0549 -0.9985 2.68 2.80
4 | 544 -0.745 -0.614 -0.3489 -0.9371 -6.19 2.87
5 | 544 -0.745 -0.613 -0.3476 -0.9376 0.64 2.35
6 | 544 -0.745 -0.612 -0.3466 -0.9380 0.72 2.33
7 | 823 -0.406 0.276 -0.8481 0.5298 6.18 2.59
8 | 823 -0.406 0.271 -0.8445 0.5356 -2.55 1.88
9 | 823 -0.406 0.279 -0.8500 0.5268 0.71 1.76
10 | 823 -0.406 0.272 -0.8446 0.5354 0.45 2.54
11 | 823 -0.406 0.280 -0.8505 0.5260 -1.46 2.54
12 | 823 -0.406 0.275 -0.8474 0.5310 1.64 1.85
13 | 824 -0.405 0.267 -0.8380 0.5456 -3.67 2.08
14 | 857 -0.364 -0.540 0.0934 0.9956 -2.91 2.20
15 | 857 -0.364 -0.532 0.0822 0.9966 1.53 3.53
16 | 857 -0.364 -0.532 0.0823 0.9966 0.44 4.84
17 | 857 -0.364 -0.541 0.0943 0.9955 -1.10 2.10
18 | 857 -0.364 -0.536 0.0884 0.9961 -2.79 4.39
19 | 857 -0.364 -0.537 0.0885 0.9961 -4.04 3.30
20 | 925 -0.282 0.667 -0.9123 0.4096 -3.81 4.22
21 | 925 -0.282 0.666 -0.9119 0.4104 4.28 2.64
22 | 1009 -0.180 -0.182 0.0678 0.9977 -4.93 3.70
23 | 1010 -0.178 -0.154 0.0327 0.9995 3.37 4.00
24 | 1010 -0.178 -0.159 0.0400 0.9992 2.01 3.17
25 | 1010 -0.178 -0.159 0.0397 0.9992 -5.19 4.43
26 | 1010 -0.178 -0.164 0.0465 0.9989 0.09 3.22
27 | 1010 -0.178 -0.169 0.0538 0.9986 -0.67 4.69
28 | 1011 -0.177 -0.136 0.0125 0.9999 -8.66 3.80
29 | 1011 -0.177 -0.131 0.0052 1.0000 -1.20 3.88
30 | 1011 -0.177 -0.145 0.0257 0.9997 7.45 3.72
31 | 1011 -0.177 -0.140 0.0188 0.9998 2.09 3.73
32 | 1011 -0.177 -0.125 -0.0024 1.0000 3.78 3.54
33 | 1011 -0.177 -0.146 0.0264 0.9997 6.83 3.66
34 | 1011 -0.177 -0.129 0.0034 1.0000 3.62 3.11
35 | 1011 -0.177 -0.140 0.0187 0.9998 3.10 3.20
36 | 1011 -0.177 -0.135 0.0121 0.9999 7.33 3.12
37 | 1011 -0.177 -0.120 -0.0041 1.0000 -11.42 8.02
38 | 1012 -0.176 -0.106 -0.0239 0.9997 1.72 4.43
39 | 1012 -0.176 -0.111 -0.0166 0.9999 1.29 5.19
40 | 1012 -0.176 -0.095 -0.0393 0.9992 -7.03 5.08
41 | 1012 -0.176 -0.106 -0.0238 0.9997 3.57 5.47
42 | 1012 -0.176 -0.112 -0.0161 0.9999 3.03 3.69
43 | 1012 -0.176 -0.116 -0.0097 1.0000 -0.61 4.97
44 | 1012 -0.176 -0.101 -0.0305 0.9995 -3.54 4.66
45 | 1012 -0.176 -0.116 -0.0094 1.0000 0.82 3.74
46 | 1012 -0.176 -0.096 -0.0379 0.9993 5.02 4.58
47 | 1012 -0.176 -0.101 -0.0304 0.9995 -7.28 4.66
48 | 1013 -0.175 -0.083 -0.0518 0.9987 -0.50 3.66
49 | 1013 -0.175 -0.078 -0.0581 0.9983 4.99 4.47
50 | 1221 0.078 -0.176 0.4188 -0.9081 -1.67 4.95
51 | 1221 0.078 -0.172 0.4238 -0.9058 -2.29 2.78
52 | 1221 0.078 -0.172 0.4244 -0.9055 5.28 5.03
53 | 1221 0.078 -0.178 0.4172 -0.9088 2.07 2.53
54 | 1221 0.078 -0.182 0.4122 -0.9111 -1.73 2.38
55 | 1221 0.078 -0.180 0.4138 -0.9104 10.01 5.01
56 | 1242 0.103 0.416 0.8975 -0.4411 -2.03 1.91
57 | 1242 0.103 0.417 0.8983 -0.4394 2.04 1.77
58 | 1243 0.105 0.430 0.9027 -0.4303 -0.07 1.99
59 | 1243 0.105 0.433 0.9053 -0.4247 1.03 1.85
60 | 1243 0.105 0.433 0.9053 -0.4248 3.29 2.82
61 | 1323 0.202 -0.692 -0.3226 -0.9466 -4.35 4.91
62 | 1323 0.202 -0.691 -0.3211 -0.9470 -0.66 5.21
63 | 1323 0.202 -0.690 -0.3207 -0.9472 6.88 5.41
64 | 1323 0.202 -0.691 -0.3218 -0.9468 -0.20 4.77
65 | 1402 0.298 0.429 0.6995 -0.7147 4.27 1.96
66 | 1402 0.298 0.434 0.7036 -0.7106 2.09 3.81
67 | 1402 0.298 0.427 0.6972 -0.7169 -1.23 1.51
68 | 1402 0.298 0.425 0.6951 -0.7189 -1.07 1.34
69 | 1402 0.298 0.430 0.6996 -0.7145 -2.93 1.82
70 | 1402 0.298 0.433 0.7035 -0.7107 -1.12 2.69
71 | 1403 0.299 0.411 0.6814 -0.7319 -0.24 2.22
72 | 1426 0.327 -0.120 0.0132 -0.9999 -3.42 5.05
73 | 1426 0.327 -0.124 0.0065 -1.0000 6.17 5.17
74 | 1426 0.327 -0.130 -0.0007 -1.0000 2.45 2.93
75 | 1426 0.327 -0.124 0.0067 -1.0000 -0.37 3.13
76 | 1426 0.327 -0.121 0.0117 -0.9999 -2.22 3.80
77 | 1426 0.327 -0.130 -0.0010 -1.0000 -2.21 3.23
78 | 1768 0.742 -0.632 0.3539 0.9353 2.03 6.29
79 | 1768 0.742 -0.633 0.3561 0.9345 -0.88 3.25
80 | 1768 0.742 -0.632 0.3547 0.9350 0.93 3.07
81 | 1768 0.742 -0.632 0.3545 0.9350 0.03 1.91
82 | 1808 0.791 0.442 -0.7252 0.6885 -1.54 1.93
83 | 1808 0.791 0.443 -0.7254 0.6884 0.36 2.19
84 | 1808 0.791 0.439 -0.7220 0.6919 5.90 3.09
85 | 2102 1.148 -0.617 -0.1824 -0.9832 -0.22 1.64
86 | 2102 1.148 -0.618 -0.1842 -0.9829 -2.34 2.55
87 | 2102 1.148 -0.619 -0.1851 -0.9827 0.49 2.77
88 | 2102 1.148 -0.616 -0.1821 -0.9833 5.51 2.74
89 | 2488 1.617 0.449 -0.9107 0.4132 -3.84 2.34
90 | 2488 1.617 0.445 -0.9084 0.4182 1.16 2.02
91 | 2488 1.617 0.449 -0.9106 0.4133 3.34 3.49
92 | 2535 1.674 -0.649 0.2497 0.9683 1.67 3.33
93 | 2535 1.674 -0.649 0.2511 0.9680 4.68 3.37
94 | 2654 1.818 -0.220 0.1075 0.9942 1.67 3.34
95 | 2655 1.819 -0.185 0.0653 0.9979 1.34 2.75
96 | 2655 1.819 -0.189 0.0710 0.9975 -2.84 2.65
97 | 2655 1.819 -0.194 0.0780 0.9970 0.91 3.04
98 | 2655 1.819 -0.190 0.0718 0.9974 1.66 3.09
99 | 2655 1.819 -0.184 0.0639 0.9980 -0.22 2.80
100 | 2655 1.819 -0.195 0.0792 0.9969 1.15 2.53
101 | 2656 1.821 -0.153 0.0278 0.9996 -3.93 3.25
102 | 2656 1.821 -0.156 0.0308 0.9995 -0.66 2.64
103 | 2657 1.822 -0.131 -0.0002 1.0000 5.12 3.03
104 | 2657 1.822 -0.132 0.0022 1.0000 4.56 3.36
105 | 2657 1.822 -0.126 -0.0056 1.0000 1.99 2.86
106 | 2657 1.822 -0.137 0.0081 1.0000 0.45 2.96
107 | 2657 1.822 -0.127 -0.0050 1.0000 -0.20 2.46
108 | 2657 1.822 -0.138 0.0094 1.0000 -3.70 2.54
109 | 2658 1.823 -0.108 -0.0259 0.9997 -2.22 1.91
110 | 2658 1.823 -0.105 -0.0316 0.9995 -3.55 2.99
111 | 2658 1.823 -0.103 -0.0337 0.9994 1.56 3.04
112 | 2658 1.823 -0.109 -0.0254 0.9997 -4.49 4.63
113 | 2660 1.826 -0.043 -0.1066 0.9943 0.02 2.76
114 | 2660 1.826 -0.041 -0.1097 0.9940 -3.24 3.05
115 | 2660 1.826 -0.036 -0.1156 0.9933 -3.32 3.05
116 |
--------------------------------------------------------------------------------
/htof/test/data_for_tests/Hip2/IntermediateData/HIP009631.d:
--------------------------------------------------------------------------------
1 | 9631 9609 114 1 7 96 8.90 0
2 | 227 -1.130 -0.521 0.3625 0.9320 2.59 1.30
3 | 228 -1.129 -0.514 0.3581 0.9337 0.42 1.36
4 | 228 -1.129 -0.515 0.3592 0.9332 -1.37 1.23
5 | 622 -0.650 0.629 0.8391 -0.5440 2.44 1.23
6 | 622 -0.650 0.630 0.8402 -0.5422 -1.47 1.07
7 | 623 -0.649 0.625 0.8367 -0.5476 1.33 1.14
8 | 665 -0.598 -0.388 -0.2702 -0.9628 -0.29 1.17
9 | 665 -0.598 -0.384 -0.2647 -0.9643 2.30 1.26
10 | 665 -0.598 -0.391 -0.2742 -0.9617 3.19 1.33
11 | 665 -0.598 -0.391 -0.2742 -0.9617 1.27 1.18
12 | 665 -0.598 -0.384 -0.2646 -0.9644 -0.99 1.09
13 | 665 -0.598 -0.388 -0.2705 -0.9627 -1.33 1.05
14 | 939 -0.265 0.546 -0.8901 0.4558 -1.66 2.37
15 | 939 -0.265 0.544 -0.8890 0.4579 1.81 1.78
16 | 939 -0.265 0.548 -0.8909 0.4543 -0.84 2.00
17 | 1042 -0.140 0.562 -0.8024 0.5968 -1.74 1.10
18 | 1042 -0.140 0.562 -0.8023 0.5969 -0.74 1.33
19 | 1042 -0.140 0.560 -0.8004 0.5995 5.88 1.21
20 | 1337 0.219 -0.495 -0.1140 -0.9935 -1.02 0.94
21 | 1337 0.219 -0.499 -0.1196 -0.9928 1.52 1.01
22 | 1337 0.219 -0.497 -0.1169 -0.9931 -1.57 1.01
23 | 1337 0.219 -0.502 -0.1238 -0.9923 1.44 1.08
24 | 1337 0.219 -0.500 -0.1213 -0.9926 -1.75 1.02
25 | 1337 0.219 -0.498 -0.1186 -0.9929 -2.91 0.99
26 | 1446 0.351 -0.625 -0.3978 -0.9175 0.18 1.15
27 | 1446 0.351 -0.626 -0.3996 -0.9167 2.83 0.97
28 | 1446 0.351 -0.627 -0.4001 -0.9165 1.69 1.32
29 | 1446 0.351 -0.624 -0.3970 -0.9178 0.20 1.04
30 | 1725 0.690 0.236 -0.7512 0.6601 -3.18 1.01
31 | 1725 0.690 0.242 -0.7563 0.6542 -2.68 0.99
32 | 1725 0.690 0.232 -0.7475 0.6642 2.99 1.14
33 | 1725 0.690 0.232 -0.7474 0.6644 0.53 1.08
34 | 1725 0.690 0.236 -0.7516 0.6596 -0.54 1.04
35 | 1755 0.727 -0.516 0.1607 0.9870 1.60 1.68
36 | 1755 0.727 -0.509 0.1503 0.9886 -2.26 1.58
37 | 1755 0.727 -0.513 0.1562 0.9877 3.39 3.18
38 | 1755 0.727 -0.516 0.1610 0.9870 2.08 3.16
39 | 1755 0.727 -0.513 0.1568 0.9876 -2.34 1.55
40 | 1755 0.727 -0.508 0.1502 0.9887 0.65 1.66
41 | 1755 0.727 -0.505 0.1453 0.9894 0.81 1.54
42 | 1755 0.727 -0.505 0.1448 0.9895 -0.75 1.36
43 | 1824 0.810 0.669 -0.8868 0.4622 2.59 1.47
44 | 1824 0.810 0.668 -0.8862 0.4634 2.08 2.31
45 | 1824 0.810 0.668 -0.8863 0.4631 1.96 1.65
46 | 1824 0.810 0.668 -0.8861 0.4636 -2.71 1.63
47 | 1908 0.912 -0.209 0.1107 0.9939 -3.46 2.06
48 | 1909 0.914 -0.196 0.0974 0.9952 0.22 1.46
49 | 1909 0.914 -0.184 0.0815 0.9967 -2.21 3.16
50 | 1909 0.914 -0.189 0.0880 0.9961 1.61 2.66
51 | 1909 0.914 -0.196 0.0964 0.9953 -1.17 2.87
52 | 1909 0.914 -0.182 0.0778 0.9970 -0.65 2.86
53 | 1909 0.914 -0.181 0.0771 0.9970 -0.88 1.91
54 | 1909 0.914 -0.186 0.0839 0.9965 -0.37 1.66
55 | 1909 0.914 -0.191 0.0909 0.9959 1.70 1.52
56 | 1910 0.915 -0.151 0.0397 0.9992 0.45 2.83
57 | 1910 0.915 -0.153 0.0418 0.9991 -0.39 1.31
58 | 1910 0.915 -0.158 0.0492 0.9988 -0.20 2.37
59 | 1910 0.915 -0.161 0.0539 0.9985 -4.38 3.13
60 | 1910 0.915 -0.167 0.0619 0.9981 6.57 2.63
61 | 1910 0.915 -0.162 0.0554 0.9985 1.46 2.63
62 | 1910 0.915 -0.158 0.0483 0.9988 0.34 3.36
63 | 1911 0.916 -0.128 0.0123 0.9999 -5.25 3.13
64 | 1911 0.916 -0.135 0.0215 0.9998 -0.87 3.05
65 | 1911 0.916 -0.140 0.0284 0.9996 5.22 3.02
66 | 1911 0.916 -0.125 0.0072 1.0000 4.65 2.93
67 | 1911 0.916 -0.138 0.0254 0.9997 -2.82 2.89
68 | 1911 0.916 -0.130 0.0148 0.9999 -6.79 2.53
69 | 1911 0.916 -0.125 0.0076 1.0000 0.95 1.96
70 | 1911 0.916 -0.133 0.0195 0.9998 6.73 2.83
71 | 1912 0.917 -0.105 -0.0148 0.9999 1.56 1.59
72 | 1912 0.917 -0.111 -0.0074 1.0000 2.59 2.28
73 | 1912 0.917 -0.109 -0.0098 1.0000 -0.30 1.88
74 | 1912 0.917 -0.096 -0.0279 0.9996 0.99 1.26
75 | 1912 0.917 -0.101 -0.0211 0.9998 1.21 1.42
76 | 1912 0.917 -0.108 -0.0123 0.9999 3.90 2.12
77 | 1912 0.917 -0.098 -0.0240 0.9997 -3.06 2.32
78 | 1913 0.919 -0.083 -0.0420 0.9991 -2.27 1.14
79 | 1913 0.919 -0.068 -0.0626 0.9980 -2.07 1.31
80 | 1913 0.919 -0.077 -0.0503 0.9987 3.69 1.61
81 | 1913 0.919 -0.068 -0.0626 0.9980 -6.19 2.72
82 | 1913 0.919 -0.078 -0.0488 0.9988 1.07 3.02
83 | 1913 0.919 -0.074 -0.0548 0.9985 0.22 2.98
84 | 1913 0.919 -0.073 -0.0561 0.9984 6.13 1.54
85 | 1914 0.920 -0.059 -0.0716 0.9974 5.79 1.70
86 | 1914 0.920 -0.051 -0.0831 0.9965 3.32 1.87
87 | 1914 0.920 -0.055 -0.0768 0.9970 2.75 2.15
88 | 1914 0.920 -0.052 -0.0815 0.9967 -0.19 2.77
89 | 1914 0.920 -0.054 -0.0784 0.9969 0.28 1.76
90 | 2125 1.176 -0.106 0.4005 -0.9163 7.61 1.40
91 | 2125 1.176 -0.095 0.4134 -0.9105 4.15 1.45
92 | 2125 1.176 -0.101 0.4071 -0.9134 1.98 1.60
93 | 2125 1.176 -0.095 0.4141 -0.9102 0.73 1.98
94 | 2125 1.176 -0.102 0.4060 -0.9139 -1.74 1.77
95 | 2126 1.177 -0.081 0.4295 -0.9031 2.43 1.80
96 | 2126 1.177 -0.085 0.4248 -0.9053 0.34 1.94
97 | 2126 1.177 -0.077 0.4345 -0.9007 0.73 1.65
98 | 2126 1.177 -0.082 0.4287 -0.9034 -0.01 1.63
99 | 2126 1.177 -0.076 0.4354 -0.9002 1.93 1.59
100 | 2141 1.195 0.339 0.8083 -0.5888 1.31 1.96
101 | 2141 1.195 0.337 0.8067 -0.5910 -1.02 1.98
102 | 2141 1.195 0.342 0.8104 -0.5859 -0.45 1.92
103 | 2142 1.197 0.359 0.8204 -0.5717 -2.92 2.04
104 | 2142 1.197 0.355 0.8175 -0.5760 0.68 1.78
105 | 2142 1.197 0.359 0.8211 -0.5708 -4.83 1.24
106 | 2142 1.197 0.365 0.8255 -0.5644 -2.84 2.99
107 | 2142 1.197 0.363 0.8241 -0.5664 3.47 2.36
108 | 2142 1.197 0.355 0.8177 -0.5757 2.98 1.66
109 | 2225 1.297 -0.691 -0.3779 -0.9258 -1.78 1.88
110 | 2225 1.297 -0.691 -0.3778 -0.9259 1.41 1.55
111 | 2225 1.297 -0.692 -0.3799 -0.9250 -3.36 1.74
112 | 2688 1.860 0.563 -0.8024 0.5968 0.38 1.41
113 | 2688 1.860 0.565 -0.8039 0.5948 3.25 1.63
114 | 2688 1.860 0.564 -0.8031 0.5958 0.09 1.58
115 | 2688 1.860 0.566 -0.8046 0.5938 -0.58 1.42
116 |
--------------------------------------------------------------------------------
/htof/test/data_for_tests/Hip21/IntermediateData/H018907.d:
--------------------------------------------------------------------------------
1 | # This file contains residual records, extracted from the Hipparcos 2
2 | # Interactive Data Access Tool (2014). For more information, see:
3 | # https://www.cosmos.esa.int/web/hipparcos/interactive-data-access
4 | # https://www.cosmos.esa.int/web/hipparcos/catalogues
5 | #
6 | # HIP MCE NRES NC isol_n SCE F2 F1
7 | # 18907 18859 94 1 5 0 -1.02 0
8 | # Hp B-V VarAnn NOB NR
9 | # 3.9203 0.032 0 93 0
10 | # RAdeg DEdeg Plx pm_RA pm_DE e_RA e_DE e_Plx e_pmRA e_pmDE dpmRA dpmDE e_dpmRA e_dpmDE ddpmRA ddpmDE e_ddpmRA e_ddpmDE upsRA upsDE e_upsRA e_upsDE var
11 | # 60.78907039 5.98930895 27.89 4.72 -3.78 0.18 0.09 0.19 0.25 0.17 --- --- --- --- --- --- --- --- --- --- --- --- ---
12 | #
13 | # IORB EPOCH PARF CPSI SPSI RES SRES
14 | 169 -1.2007 0.4528 -0.7928 0.6094 -0.99 1.15
15 | 169 -1.2007 0.4537 -0.7912 0.6116 -0.23 0.74
16 | 215 -1.1450 -0.6503 0.4666 0.8845 -0.26 0.76
17 | 215 -1.1450 -0.6517 0.4683 0.8835 0.11 0.71
18 | 215 -1.1450 -0.6514 0.4679 0.8838 -0.07 0.81
19 | 573 -0.7096 -0.3971 -0.1142 -0.9935 0.59 0.80
20 | 573 -0.7096 -0.3974 -0.1146 -0.9934 -0.25 0.69
21 | 573 -0.7096 -0.3943 -0.1103 -0.9939 0.91 0.74
22 | 573 -0.7096 -0.3939 -0.1098 -0.9940 -1.32 0.73
23 | 611 -0.6634 0.6145 0.8307 -0.5567 -0.57 0.89
24 | 611 -0.6634 0.6143 0.8307 -0.5568 -1.11 0.80
25 | 680 -0.5795 -0.6647 -0.5452 -0.8383 -0.38 0.76
26 | 961 -0.2380 -0.0133 -0.4154 0.9096 0.19 0.72
27 | 961 -0.2380 -0.0135 -0.4156 0.9096 0.13 0.71
28 | 961 -0.2380 -0.0193 -0.4081 0.9129 -0.35 0.75
29 | 961 -0.2380 -0.0182 -0.4095 0.9123 0.46 0.72
30 | 961 -0.2380 -0.0230 -0.4036 0.9150 0.40 0.73
31 | 961 -0.2380 -0.0243 -0.4017 0.9158 -0.25 0.71
32 | 961 -0.2380 -0.0289 -0.3962 0.9181 0.20 0.73
33 | 961 -0.2380 -0.0298 -0.3946 0.9188 -0.60 0.69
34 | 962 -0.2368 -0.0364 -0.3828 0.9238 -0.43 0.71
35 | 962 -0.2368 -0.0364 -0.3825 0.9240 -0.94 0.69
36 | 962 -0.2368 -0.0407 -0.3773 0.9261 0.50 0.73
37 | 962 -0.2368 -0.0417 -0.3762 0.9265 0.28 0.69
38 | 962 -0.2368 -0.0466 -0.3699 0.9291 0.47 0.73
39 | 962 -0.2368 -0.0462 -0.3704 0.9289 0.01 0.72
40 | 962 -0.2368 -0.0499 -0.3656 0.9308 0.20 0.71
41 | 963 -0.2356 -0.0588 -0.3515 0.9362 0.14 0.71
42 | 963 -0.2356 -0.0593 -0.3503 0.9366 -0.86 0.73
43 | 963 -0.2356 -0.0642 -0.3440 0.9390 0.16 0.74
44 | 963 -0.2356 -0.0647 -0.3435 0.9392 -0.32 0.72
45 | 963 -0.2356 -0.0679 -0.3395 0.9406 -0.30 0.73
46 | 964 -0.2344 -0.0781 -0.3181 0.9480 2.61 1.62
47 | 970 -0.2271 -0.2274 -0.1112 0.9938 0.85 0.83
48 | 970 -0.2271 -0.2278 -0.1111 0.9938 0.23 0.73
49 | 970 -0.2271 -0.2320 -0.1050 0.9945 0.74 0.82
50 | 970 -0.2271 -0.2338 -0.1026 0.9947 -0.13 0.75
51 | 970 -0.2271 -0.2371 -0.0982 0.9952 0.03 0.74
52 | 970 -0.2271 -0.2389 -0.0956 0.9954 0.91 0.70
53 | 970 -0.2271 -0.2421 -0.0916 0.9958 0.27 0.74
54 | 970 -0.2271 -0.2442 -0.0886 0.9961 0.02 0.69
55 | 971 -0.2259 -0.2526 -0.0751 0.9972 -0.42 0.69
56 | 971 -0.2259 -0.2534 -0.0745 0.9972 0.04 0.71
57 | 971 -0.2259 -0.2577 -0.0684 0.9977 -0.78 0.71
58 | 971 -0.2259 -0.2571 -0.0694 0.9976 -0.28 0.71
59 | 971 -0.2259 -0.2621 -0.0621 0.9981 -1.24 0.69
60 | 971 -0.2259 -0.2630 -0.0612 0.9981 0.93 0.72
61 | 971 -0.2259 -0.2663 -0.0563 0.9984 -0.16 0.69
62 | 971 -0.2259 -0.2687 -0.0536 0.9986 1.59 0.71
63 | 972 -0.2247 -0.2767 -0.0408 0.9992 0.28 0.73
64 | 972 -0.2247 -0.2757 -0.0417 0.9991 -0.22 0.73
65 | 972 -0.2247 -0.2816 -0.0340 0.9994 0.19 0.68
66 | 972 -0.2247 -0.2813 -0.0348 0.9994 -0.06 0.68
67 | 972 -0.2247 -0.2858 -0.0283 0.9996 -0.24 0.69
68 | 972 -0.2247 -0.2874 -0.0259 0.9997 -0.03 0.73
69 | 1053 -0.1262 0.6709 -0.8230 0.5681 0.47 0.81
70 | 1053 -0.1262 0.6705 -0.8226 0.5686 -0.89 0.74
71 | 1053 -0.1262 0.6701 -0.8224 0.5690 1.10 0.82
72 | 1053 -0.1262 0.6701 -0.8224 0.5690 -0.15 0.82
73 | 1053 -0.1262 0.6692 -0.8216 0.5700 -0.08 0.79
74 | 1126 -0.0376 -0.4970 0.5105 0.8599 0.90 0.72
75 | 1126 -0.0376 -0.4957 0.5088 0.8609 0.44 0.78
76 | 1126 -0.0376 -0.4935 0.5063 0.8624 -2.15 0.71
77 | 1126 -0.0376 -0.4934 0.5062 0.8624 0.61 0.79
78 | 1153 -0.0047 0.2462 -0.3094 0.9509 -0.28 0.89
79 | 1153 -0.0047 0.2470 -0.3104 0.9506 -1.36 0.77
80 | 1153 -0.0047 0.2510 -0.3150 0.9491 -1.12 0.87
81 | 1153 -0.0047 0.2531 -0.3177 0.9482 -1.95 0.75
82 | 1153 -0.0047 0.2564 -0.3224 0.9466 0.10 0.82
83 | 1153 -0.0047 0.2560 -0.3213 0.9470 0.70 0.75
84 | 1153 -0.0047 0.2604 -0.3274 0.9449 0.24 0.82
85 | 1153 -0.0047 0.2591 -0.3261 0.9453 0.08 0.77
86 | 1459 0.3670 -0.6768 -0.4810 -0.8767 -0.51 0.74
87 | 1459 0.3670 -0.6761 -0.4803 -0.8771 -0.04 0.82
88 | 1459 0.3670 -0.6764 -0.4806 -0.8770 -0.22 0.73
89 | 1459 0.3670 -0.6756 -0.4797 -0.8774 -0.08 0.70
90 | 1459 0.3670 -0.6761 -0.4801 -0.8772 -0.30 0.92
91 | 1459 0.3670 -0.6754 -0.4789 -0.8779 0.07 0.76
92 | 1526 0.4487 0.5987 0.7118 -0.7024 -0.37 0.72
93 | 1526 0.4487 0.5988 0.7122 -0.7019 -0.88 0.86
94 | 1834 0.8226 0.5676 -0.8280 0.5607 1.00 0.76
95 | 1835 0.8238 0.5636 -0.8224 0.5689 0.07 0.77
96 | 1890 0.8906 -0.6726 0.5299 0.8480 -0.25 0.72
97 | 1890 0.8906 -0.6733 0.5306 0.8476 -0.76 0.77
98 | 1890 0.8906 -0.6729 0.5302 0.8479 -0.15 0.71
99 | 1890 0.8906 -0.6728 0.5301 0.8479 0.60 0.79
100 | 1939 0.9500 0.5468 -0.6696 0.7427 -0.66 0.80
101 | 1939 0.9500 0.5466 -0.6697 0.7426 -1.42 0.77
102 | 1939 0.9500 0.5483 -0.6712 0.7412 1.06 0.82
103 | 1939 0.9500 0.5492 -0.6723 0.7403 0.09 0.81
104 | 1939 0.9500 0.5501 -0.6730 0.7396 0.11 0.73
105 | 1939 0.9500 0.5508 -0.6739 0.7389 -0.34 0.71
106 | 2239 1.3145 -0.5334 -0.2926 -0.9562 -0.51 0.80
107 | 2239 1.3145 -0.5327 -0.2916 -0.9565 -0.50 0.80
108 |
--------------------------------------------------------------------------------
/htof/test/data_for_tests/Hip21/IntermediateData/H000581.d:
--------------------------------------------------------------------------------
1 | # This file contains residual records, extracted from the Hipparcos 2
2 | # Interactive Data Access Tool (2014). For more information, see:
3 | # https://www.cosmos.esa.int/web/hipparcos/interactive-data-access
4 | # https://www.cosmos.esa.int/web/hipparcos/catalogues
5 | #
6 | # HIP MCE NRES NC isol_n SCE F2 F1
7 | # 581 580 98 1 7 4 3.58 0
8 | # Hp B-V VarAnn NOB NR
9 | # 7.5062 0.203 0 98 0
10 | # RAdeg DEdeg Plx pm_RA pm_DE e_RA e_DE e_Plx e_pmRA e_pmDE dpmRA dpmDE e_dpmRA e_dpmDE ddpmRA ddpmDE e_ddpmRA e_ddpmDE upsRA upsDE e_upsRA e_upsDE var
11 | # 1.76733108 6.87560704 8.63 -36.26 -25.67 0.74 0.38 0.82 0.80 0.66 5.36 2.63 1.50 1.04 --- --- --- --- --- --- --- --- ---
12 | #
13 | # IORB EPOCH PARF CPSI SPSI RES SRES
14 | 52 -1.3430 0.4864 -0.8148 0.5797 -7.71 4.18
15 | 52 -1.3430 0.4834 -0.8123 0.5833 2.38 1.84
16 | 97 -1.2882 -0.6573 0.3366 0.9417 -0.17 2.51
17 | 97 -1.2882 -0.6567 0.3357 0.9420 4.20 2.63
18 | 154 -1.2187 0.6004 -0.9075 0.4201 2.39 1.83
19 | 435 -0.8773 -0.2998 -0.0516 -0.9987 -1.17 1.96
20 | 435 -0.8773 -0.2991 -0.0508 -0.9987 -2.48 1.87
21 | 435 -0.8773 -0.2952 -0.0460 -0.9989 2.46 2.22
22 | 435 -0.8773 -0.2913 -0.0410 -0.9992 -0.73 2.20
23 | 435 -0.8773 -0.2911 -0.0396 -0.9992 4.94 1.83
24 | 469 -0.8360 0.5565 0.8472 -0.5312 2.61 2.42
25 | 470 -0.8347 0.5677 0.8543 -0.5197 6.15 4.67
26 | 541 -0.7485 -0.6828 -0.3149 -0.9491 0.97 2.14
27 | 541 -0.7485 -0.6823 -0.3144 -0.9493 2.20 2.19
28 | 541 -0.7485 -0.6836 -0.3159 -0.9488 2.64 2.59
29 | 541 -0.7485 -0.6835 -0.3159 -0.9488 -2.02 2.32
30 | 541 -0.7485 -0.6843 -0.3169 -0.9485 -2.74 3.15
31 | 541 -0.7485 -0.6839 -0.3164 -0.9486 -2.81 2.25
32 | 842 -0.3826 0.0848 -0.4233 0.9060 -3.11 4.81
33 | 842 -0.3826 0.0802 -0.4173 0.9088 3.54 4.09
34 | 842 -0.3826 0.0790 -0.4162 0.9093 -7.17 4.85
35 | 842 -0.3826 0.0762 -0.4117 0.9113 -3.97 3.08
36 | 842 -0.3826 0.0758 -0.4118 0.9113 -5.77 3.12
37 | 842 -0.3826 0.0709 -0.4053 0.9142 0.33 3.80
38 | 842 -0.3826 0.0696 -0.4038 0.9149 1.27 4.03
39 | 843 -0.3815 0.0610 -0.3937 0.9192 -3.16 3.28
40 | 843 -0.3815 0.0557 -0.3868 0.9222 1.86 4.66
41 | 843 -0.3815 0.0555 -0.3865 0.9223 -10.62 5.27
42 | 857 -0.3644 -0.3231 0.0777 0.9970 -0.62 2.58
43 | 857 -0.3644 -0.3284 0.0846 0.9964 3.04 1.94
44 | 857 -0.3644 -0.3269 0.0838 0.9965 -3.64 2.24
45 | 857 -0.3644 -0.3336 0.0915 0.9958 -3.62 1.97
46 | 857 -0.3644 -0.3326 0.0909 0.9959 -1.09 1.89
47 | 857 -0.3644 -0.3381 0.0984 0.9951 2.82 2.06
48 | 857 -0.3644 -0.3376 0.0976 0.9952 2.51 2.18
49 | 936 -0.2684 0.6719 -0.9172 0.3985 0.92 1.80
50 | 1009 -0.1796 -0.4253 0.0622 0.9981 1.11 1.87
51 | 1009 -0.1796 -0.4239 0.0603 0.9982 -1.69 1.72
52 | 1010 -0.1785 -0.4197 0.0560 0.9984 2.43 1.97
53 | 1010 -0.1785 -0.4192 0.0553 0.9985 -0.13 1.97
54 | 1010 -0.1785 -0.4153 0.0500 0.9988 -2.05 1.69
55 | 1010 -0.1785 -0.4149 0.0495 0.9988 2.37 2.13
56 | 1010 -0.1785 -0.4112 0.0440 0.9990 -0.76 1.71
57 | 1010 -0.1785 -0.4103 0.0429 0.9991 0.05 1.76
58 | 1010 -0.1785 -0.4061 0.0376 0.9993 2.21 2.22
59 | 1031 -0.1530 0.1246 -0.6203 0.7844 4.97 3.24
60 | 1031 -0.1530 0.1239 -0.6196 0.7849 -0.51 3.76
61 | 1031 -0.1530 0.1293 -0.6250 0.7806 1.18 1.58
62 | 1031 -0.1530 0.1291 -0.6252 0.7805 -3.95 4.53
63 | 1031 -0.1530 0.1332 -0.6299 0.7767 0.95 1.60
64 | 1031 -0.1530 0.1338 -0.6301 0.7765 2.15 4.05
65 | 1031 -0.1530 0.1388 -0.6355 0.7721 0.57 1.73
66 | 1032 -0.1518 0.1405 -0.6394 0.7689 -0.56 1.80
67 | 1032 -0.1518 0.1410 -0.6400 0.7684 -3.75 2.25
68 | 1386 0.2784 0.6345 0.9118 -0.4107 0.56 2.38
69 | 1386 0.2784 0.6341 0.9117 -0.4110 10.80 4.06
70 | 1387 0.2796 0.6280 0.9092 -0.4163 -4.42 5.44
71 | 1427 0.3282 -0.4034 -0.0205 -0.9998 -10.96 5.95
72 | 1427 0.3282 -0.4030 -0.0200 -0.9998 0.67 2.68
73 | 1427 0.3282 -0.4068 -0.0249 -0.9997 9.22 5.70
74 | 1427 0.3282 -0.4057 -0.0240 -0.9997 -3.75 2.61
75 | 1427 0.3282 -0.4107 -0.0303 -0.9995 -0.39 4.53
76 | 1427 0.3282 -0.4090 -0.0284 -0.9996 -5.45 2.74
77 | 1717 0.6804 0.5878 -0.8725 0.4886 -4.60 4.07
78 | 1772 0.7473 -0.6664 0.3209 0.9471 -1.16 1.86
79 | 1772 0.7473 -0.6661 0.3206 0.9472 6.91 3.35
80 | 1820 0.8056 0.5059 -0.8774 0.4798 4.37 3.49
81 | 1820 0.8056 0.5061 -0.8777 0.4792 -7.26 3.29
82 | 1820 0.8056 0.5075 -0.8785 0.4777 -0.62 1.89
83 | 1820 0.8056 0.5083 -0.8789 0.4770 1.56 1.63
84 | 1820 0.8056 0.5111 -0.8809 0.4733 2.02 1.58
85 | 2100 1.1456 -0.4716 -0.2135 -0.9769 -2.88 3.38
86 | 2100 1.1456 -0.4701 -0.2125 -0.9772 5.94 3.39
87 | 2100 1.1456 -0.4676 -0.2092 -0.9779 1.83 2.91
88 | 2100 1.1456 -0.4669 -0.2082 -0.9781 3.16 3.09
89 | 2148 1.2038 0.6676 0.9032 -0.4293 -4.20 2.82
90 | 2148 1.2038 0.6684 0.9037 -0.4282 -0.08 4.70
91 | 2148 1.2038 0.6686 0.9038 -0.4279 -7.53 5.56
92 | 2148 1.2038 0.6699 0.9045 -0.4265 -2.60 5.50
93 | 2583 1.7321 -0.0002 -0.3981 0.9174 -2.33 3.08
94 | 2585 1.7346 -0.0009 -0.3989 0.9170 -1.87 2.36
95 | 2585 1.7346 0.0009 -0.4005 0.9163 -4.36 2.71
96 | 2585 1.7346 -0.0002 -0.3995 0.9167 -0.01 2.39
97 | 2585 1.7346 0.0000 -0.3997 0.9166 1.33 2.93
98 | 2585 1.7346 -0.0005 -0.3993 0.9168 3.02 2.39
99 | 2585 1.7346 0.0004 -0.4001 0.9165 -13.00 3.62
100 | 2655 1.8195 -0.4363 0.0741 0.9973 2.82 2.28
101 | 2655 1.8195 -0.4369 0.0747 0.9972 -1.48 2.47
102 | 2655 1.8195 -0.4321 0.0679 0.9977 1.56 2.56
103 | 2655 1.8195 -0.4307 0.0664 0.9978 -0.88 1.73
104 | 2655 1.8195 -0.4275 0.0618 0.9981 -0.23 2.59
105 | 2655 1.8195 -0.4276 0.0620 0.9981 2.50 1.67
106 | 2677 1.8464 0.1357 -0.6303 0.7763 -0.10 2.98
107 | 2677 1.8464 0.1363 -0.6305 0.7762 -1.29 3.34
108 | 2677 1.8464 0.1406 -0.6351 0.7725 5.02 1.99
109 | 2677 1.8464 0.1417 -0.6363 0.7714 -4.55 2.39
110 | 2678 1.8475 0.1526 -0.6495 0.7603 -2.36 2.16
111 | 2678 1.8475 0.1539 -0.6515 0.7586 0.42 2.06
112 |
--------------------------------------------------------------------------------
/htof/validation/hip_java_deep_refit.py:
--------------------------------------------------------------------------------
1 | import numpy as np
2 | from argparse import ArgumentParser
3 | import warnings
4 | from htof.parse import partitions, HipparcosRereductionJavaTool
5 |
6 |
7 | def calculate_sum_chi2_partials(rejects_from_each_orbit, orbit_index, orbit_multiplicity, orbits_to_keep, _orbit_factors,
8 | residual_factors_transpose_scaled, mask_rejected_resid):
9 | end_index = orbit_index + orbit_multiplicity - rejects_from_each_orbit
10 | for s, e in zip(orbit_index, end_index):
11 | orbits_to_keep[s:e] = True
12 | # now we want to try a variety of deleting orbits and sliding the other orbits
13 | # upward to fill the vacancy.
14 | # this pops the orbits out and shifts all the orbits after:
15 | orbit_factors = _orbit_factors[orbits_to_keep]
16 | # this simultaneously deletes one of the residuals, assigns the remaining residuals to the
17 | # shifted orbits, and calculates the chi2 partials vector per orbit:
18 | chi2_vector = (residual_factors_transpose_scaled * orbit_factors)
19 | # sum the square of the chi2 partials to decide for whether or not it is a stationary point.
20 | sum_chisquared_partials = np.sqrt(np.sum(np.sum(chi2_vector[mask_rejected_resid], axis=0) ** 2))
21 | # reset for the next loop:
22 | orbits_to_keep[:] = False
23 | return rejects_from_each_orbit, sum_chisquared_partials
24 |
25 |
26 | def find_epochs_to_reject_java_largest(data, n_additional_reject, orbit_number):
27 | # this is for any java tool object where n_additional_reject is greater than 3.
28 | # we assume the scan angles and times of rows in the same orbit are similar, therefore we only have
29 | # to try all combinations of distributing n_additional_reject rejected epochs among N orbits
30 | # calculate the chisquared partials
31 | orbit_prototypes, orbit_index, orbit_multiplicity = np.unique(orbit_number, return_index=True,
32 | return_counts=True)
33 | num_unique_orbits = len(orbit_prototypes)
34 | sin_scan = np.sin(data.scan_angle.values)
35 | cos_scan = np.cos(data.scan_angle.values)
36 | dt = data.epoch - 1991.25
37 | resid_reject_idx = [len(data) - 1 - i for i in
38 | range(int(n_additional_reject))] # always reject the repeated observations.
39 | # need to iterate over popping orbit combinations
40 | orbits_to_keep = np.zeros(len(data), dtype=bool)
41 | residuals_to_keep = np.ones(len(data), dtype=bool)
42 | residuals_to_keep[resid_reject_idx] = False
43 |
44 | residual_factors = (data.residuals.values / data.along_scan_errs.values ** 2)[residuals_to_keep]
45 | mask_rejected_resid = (data.along_scan_errs.values > 0).astype(bool)[residuals_to_keep]
46 | _orbit_factors = np.array([sin_scan, cos_scan, dt * sin_scan, dt * cos_scan]).T
47 | candidate_orbit_rejects = []
48 | candidate_orbit_chisquared_partials = []
49 |
50 | residual_factors_transpose = residual_factors.reshape(-1,1)
51 | residual_factors_transpose_scaled = residual_factors_transpose * 2
52 |
53 | for rejects_from_each_orbit in partitions(n_additional_reject, num_unique_orbits):
54 | if np.any(rejects_from_each_orbit > orbit_multiplicity):
55 | # ignore any trials of rejects that put e.g. 10 rejects into an orbit with only 4 observations.
56 | continue
57 | rejects_from_each_orbit, sum_chisquared_partials = calculate_sum_chi2_partials(rejects_from_each_orbit, orbit_index, orbit_multiplicity, orbits_to_keep, _orbit_factors,
58 | residual_factors_transpose_scaled, mask_rejected_resid)
59 | if sum_chisquared_partials > 1:
60 | # if the solution is bad, don't even save it. This will reduce memory usage.
61 | continue
62 | candidate_orbit_rejects.append(rejects_from_each_orbit)
63 | candidate_orbit_chisquared_partials.append(sum_chisquared_partials)
64 | rejects_from_each_orbit = np.array(candidate_orbit_rejects)[np.argmin(candidate_orbit_chisquared_partials)]
65 | # now transform rejects_from_each_orbit into actual orbit indices that we are going to reject.
66 | end_index = orbit_index + orbit_multiplicity - np.array(rejects_from_each_orbit)
67 | for s, e in zip(orbit_index, end_index):
68 | orbits_to_keep[s:e] = True
69 | orbit_reject_idx = np.where(~orbits_to_keep)[0]
70 | if np.min(candidate_orbit_chisquared_partials) > 0.5:
71 | warnings.warn("Attempted to fix the data corruption, but the chisquared partials are larger than 0.5. "
72 | "Treat this source with caution.", UserWarning)
73 |
74 | return {'residual/along_scan_error': list(resid_reject_idx), 'orbit/scan_angle/time': list(orbit_reject_idx)}
75 |
76 |
77 | if __name__ == "__main__":
78 | parser = ArgumentParser(description='Script for refitting the java tool IAD. '
79 | 'This will output a .txt file for every hip source provided in the inlist'
80 | ' Each .txt will contain the epochs to reject to fix the data corruption')
81 | parser.add_argument("-dir", "--iad-directory", required=True, default=None,
82 | help="full path to the intermediate data directory")
83 | parser.add_argument("-i", "--inlist", required=False, default=None,
84 | help=".txt file with the list of sources you want to refit.")
85 | parser.add_argument("--debug", action='store_true', default=False, required=False,
86 | help='If true, this will run the refit test on only 500 sources. Useful to check for '
87 | 'filepath problems before running the full test on all ~100000 sources.')
88 |
89 | args = parser.parse_args()
90 | import time
91 |
92 | hip_ids = np.genfromtxt(args.inlist).flatten().astype(int)
93 | if args.debug:
94 | # test a source with 2 corrupted observations and 5.
95 | hip_ids = [114114, 18517]
96 |
97 | # do the fit.
98 | for hip_id in hip_ids:
99 | data = HipparcosRereductionJavaTool()
100 | # get info on the IAD without doing any rejection:
101 | header, raw_iad = data.parse(star_id=hip_id, intermediate_data_directory=args.iad_directory,
102 | attempt_adhoc_rejection=False, reject_known=False)
103 | n_transits, n_expected_transits = header['first']['NRES'], header['second']['NOB']
104 | n_additional_reject = int(n_transits) - int(n_expected_transits)
105 | orbit_number = raw_iad[0].values
106 | correct_id = header['first']['HIP']
107 | additional_rejected_epochs = find_epochs_to_reject_java_largest(data, n_additional_reject, orbit_number)
108 | f = open(f"{str(int(correct_id))}.txt", "w")
109 | f.write(str(additional_rejected_epochs))
110 | f.close()
111 |
112 |
--------------------------------------------------------------------------------
/htof/test/data_for_tests/Hip2/IntermediateData/HIP016468.d:
--------------------------------------------------------------------------------
1 | 16468 16426 132 1 9 10 2.46 0
2 | 70 -1.321 -0.613 -0.5113 0.8594 -2.38 4.60
3 | 136 -1.241 0.665 -0.9974 0.0714 1.30 4.39
4 | 136 -1.241 0.667 -0.9976 0.0693 1.27 2.76
5 | 205 -1.157 -0.658 0.4635 0.8861 3.93 2.80
6 | 206 -1.156 -0.652 0.4627 0.8865 -0.81 3.37
7 | 251 -1.101 0.616 -0.5839 0.8118 -5.41 4.86
8 | 251 -1.101 0.615 -0.5822 0.8131 -1.96 3.44
9 | 251 -1.101 0.614 -0.5824 0.8129 3.77 4.06
10 | 251 -1.101 0.613 -0.5803 0.8144 -1.06 3.08
11 | 251 -1.101 0.614 -0.5814 0.8136 -0.69 4.40
12 | 333 -1.001 -0.532 0.9801 0.1986 4.99 3.89
13 | 367 -0.960 0.527 0.3974 0.9176 -3.07 2.76
14 | 367 -0.960 0.528 0.3967 0.9180 1.58 3.76
15 | 367 -0.960 0.529 0.3945 0.9189 1.70 2.67
16 | 367 -0.960 0.526 0.3987 0.9171 3.60 3.97
17 | 452 -0.857 -0.606 0.6727 -0.7399 -9.11 5.84
18 | 497 -0.802 0.653 0.9691 0.2465 0.91 2.16
19 | 497 -0.802 0.654 0.9687 0.2484 -1.63 2.09
20 | 497 -0.802 0.654 0.9689 0.2475 -1.44 2.42
21 | 497 -0.802 0.652 0.9693 0.2457 -0.10 2.49
22 | 573 -0.710 -0.694 -0.1690 -0.9856 -0.80 3.66
23 | 573 -0.710 -0.694 -0.1690 -0.9856 3.36 2.43
24 | 573 -0.710 -0.694 -0.1689 -0.9856 1.67 3.45
25 | 573 -0.710 -0.694 -0.1686 -0.9857 -1.33 2.69
26 | 639 -0.629 0.660 0.7597 -0.6503 2.21 4.22
27 | 639 -0.629 0.660 0.7597 -0.6503 -1.82 6.25
28 | 639 -0.629 0.659 0.7580 -0.6522 16.77 3.35
29 | 639 -0.629 0.658 0.7579 -0.6523 0.15 6.81
30 | 700 -0.555 -0.587 -0.8343 -0.5513 15.15 6.97
31 | 700 -0.555 -0.586 -0.8339 -0.5520 -0.65 4.93
32 | 700 -0.555 -0.590 -0.8366 -0.5479 4.06 6.16
33 | 700 -0.555 -0.590 -0.8365 -0.5480 -8.49 5.27
34 | 784 -0.453 0.529 -0.3687 -0.9295 5.18 3.36
35 | 784 -0.453 0.524 -0.3746 -0.9272 -2.21 2.54
36 | 784 -0.453 0.521 -0.3779 -0.9259 4.17 3.34
37 | 784 -0.453 0.531 -0.3652 -0.9309 -2.23 2.67
38 | 784 -0.453 0.527 -0.3702 -0.9289 -0.52 2.76
39 | 784 -0.453 0.525 -0.3736 -0.9276 11.11 3.38
40 | 836 -0.390 -0.551 -0.8656 0.5008 9.03 2.57
41 | 836 -0.390 -0.551 -0.8654 0.5010 0.07 3.15
42 | 837 -0.389 -0.553 -0.8602 0.5100 0.16 5.47
43 | 837 -0.389 -0.553 -0.8598 0.5107 -6.78 5.63
44 | 837 -0.389 -0.557 -0.8573 0.5148 -3.60 4.74
45 | 837 -0.389 -0.557 -0.8574 0.5147 5.67 5.35
46 | 912 -0.298 0.631 -0.9706 -0.2407 -6.28 3.58
47 | 912 -0.298 0.631 -0.9706 -0.2405 1.12 3.84
48 | 912 -0.298 0.636 -0.9689 -0.2474 -4.86 3.56
49 | 912 -0.298 0.633 -0.9700 -0.2431 -6.32 3.28
50 | 912 -0.298 0.636 -0.9691 -0.2466 -2.09 3.80
51 | 975 -0.221 -0.673 0.1145 0.9934 12.84 7.12
52 | 975 -0.221 -0.673 0.1151 0.9934 -6.66 7.18
53 | 975 -0.221 -0.672 0.1142 0.9935 0.20 3.32
54 | 975 -0.221 -0.674 0.1157 0.9933 6.41 3.79
55 | 1028 -0.157 0.653 -0.8382 0.5453 1.11 6.95
56 | 1028 -0.157 0.654 -0.8392 0.5439 -6.00 7.12
57 | 1028 -0.157 0.653 -0.8383 0.5452 -8.48 7.24
58 | 1028 -0.157 0.654 -0.8393 0.5437 -7.11 7.16
59 | 1105 -0.063 -0.582 0.8439 0.5365 -2.91 5.11
60 | 1105 -0.063 -0.584 0.8453 0.5343 -5.77 7.18
61 | 1106 -0.062 -0.574 0.8421 0.5393 -5.75 4.30
62 | 1142 -0.018 0.539 -0.0070 1.0000 -8.47 6.77
63 | 1142 -0.018 0.539 -0.0068 1.0000 -0.19 3.68
64 | 1143 -0.017 0.548 -0.0113 0.9999 0.76 3.92
65 | 1228 0.086 -0.549 0.9146 -0.4043 -1.26 4.24
66 | 1228 0.086 -0.549 0.9147 -0.4041 -8.16 4.50
67 | 1266 0.132 0.588 0.8280 0.5607 -3.31 3.15
68 | 1266 0.132 0.591 0.8262 0.5634 -6.11 4.23
69 | 1266 0.132 0.590 0.8264 0.5630 3.31 3.66
70 | 1266 0.132 0.589 0.8278 0.5610 4.15 2.81
71 | 1347 0.231 -0.676 0.1693 -0.9856 -4.59 3.74
72 | 1347 0.231 -0.677 0.1678 -0.9858 -0.87 3.87
73 | 1347 0.231 -0.676 0.1697 -0.9855 1.59 3.51
74 | 1404 0.300 0.694 0.9580 -0.2869 -2.03 5.47
75 | 1404 0.300 0.695 0.9582 -0.2861 10.76 6.30
76 | 1404 0.300 0.693 0.9576 -0.2879 -1.86 2.95
77 | 1471 0.382 -0.651 -0.6082 -0.7938 4.59 6.48
78 | 1471 0.382 -0.649 -0.6056 -0.7958 -0.94 1.82
79 | 1471 0.382 -0.650 -0.6062 -0.7953 -2.14 5.99
80 | 1471 0.382 -0.647 -0.6033 -0.7975 -7.58 6.06
81 | 1471 0.382 -0.647 -0.6033 -0.7975 -2.76 1.80
82 | 1550 0.478 0.564 0.1267 -0.9919 13.32 4.35
83 | 1550 0.478 0.557 0.1170 -0.9931 1.62 2.89
84 | 1550 0.478 0.557 0.1171 -0.9931 5.87 7.08
85 | 1550 0.478 0.561 0.1219 -0.9925 0.67 3.60
86 | 1550 0.478 0.560 0.1210 -0.9927 7.27 7.10
87 | 1550 0.478 0.565 0.1274 -0.9919 1.20 7.61
88 | 1603 0.542 -0.525 -0.9997 0.0230 0.85 7.49
89 | 1603 0.542 -0.528 -0.9996 0.0269 -12.65 6.85
90 | 1603 0.542 -0.527 -0.9997 0.0263 -2.96 4.68
91 | 1603 0.542 -0.527 -0.9998 0.0219 -22.90 15.03
92 | 1686 0.643 0.577 -0.8390 -0.5442 2.55 7.51
93 | 1686 0.643 0.577 -0.8394 -0.5436 10.61 6.65
94 | 1686 0.643 0.580 -0.8373 -0.5468 -7.80 6.27
95 | 1686 0.643 0.581 -0.8367 -0.5477 -3.51 7.14
96 | 1686 0.643 0.583 -0.8346 -0.5509 12.62 6.15
97 | 1744 0.713 -0.642 -0.2981 0.9545 -19.55 7.85
98 | 1744 0.713 -0.648 -0.2912 0.9567 6.52 7.53
99 | 1744 0.713 -0.647 -0.2923 0.9563 6.66 6.19
100 | 1744 0.713 -0.644 -0.2954 0.9554 3.92 7.23
101 | 1744 0.713 -0.642 -0.2986 0.9544 0.12 7.66
102 | 1744 0.713 -0.645 -0.2950 0.9555 -4.38 7.53
103 | 1805 0.787 0.668 -0.9727 0.2321 1.28 5.14
104 | 1805 0.787 0.668 -0.9726 0.2327 4.02 3.46
105 | 1805 0.787 0.669 -0.9730 0.2307 -7.37 7.37
106 | 1877 0.875 -0.638 0.6092 0.7930 5.27 6.74
107 | 1877 0.875 -0.638 0.6097 0.7926 4.06 3.36
108 | 1920 0.927 0.588 -0.4125 0.9109 6.63 7.57
109 | 1920 0.927 0.589 -0.4126 0.9109 -2.96 8.40
110 | 2003 1.028 -0.528 1.0000 0.0008 1.08 1.93
111 | 2003 1.028 -0.528 1.0000 0.0004 -3.00 5.04
112 | 2003 1.028 -0.532 1.0000 -0.0036 -9.09 4.01
113 | 2003 1.028 -0.531 1.0000 -0.0026 -0.55 1.97
114 | 2003 1.028 -0.532 1.0000 -0.0046 -4.52 6.49
115 | 2038 1.070 0.537 0.5696 0.8220 -4.53 3.50
116 | 2038 1.070 0.539 0.5665 0.8240 -14.11 6.97
117 | 2038 1.070 0.539 0.5670 0.8237 4.87 4.17
118 | 2038 1.070 0.537 0.5687 0.8225 -15.01 7.57
119 | 2038 1.070 0.535 0.5712 0.8208 14.02 7.42
120 | 2123 1.173 -0.624 0.5166 -0.8562 2.07 4.25
121 | 2123 1.173 -0.624 0.5173 -0.8558 0.82 7.90
122 | 2171 1.232 0.677 0.9971 0.0756 -2.60 5.06
123 | 2171 1.232 0.678 0.9971 0.0760 -2.83 6.86
124 | 2458 1.580 0.533 -0.5748 -0.8183 -5.51 4.95
125 | 2458 1.580 0.533 -0.5752 -0.8180 -4.78 5.71
126 | 2511 1.645 -0.582 -0.7085 0.7057 1.57 4.07
127 | 2513 1.647 -0.590 -0.6909 0.7229 -0.73 2.10
128 | 2513 1.647 -0.584 -0.6976 0.7165 -1.78 7.34
129 | 2513 1.647 -0.589 -0.6920 0.7219 -0.95 3.47
130 | 2752 1.937 -0.584 0.8433 0.5375 1.07 3.97
131 | 2752 1.937 -0.582 0.8418 0.5398 1.28 3.41
132 | 2752 1.937 -0.584 0.8431 0.5378 0.64 4.37
133 | 2752 1.937 -0.582 0.8420 0.5394 -2.48 3.23
134 |
--------------------------------------------------------------------------------
/htof/test/data_for_tests/Hip21/IntermediateData/H027321.d:
--------------------------------------------------------------------------------
1 | # This file contains residual records, extracted from the Hipparcos 2
2 | # Interactive Data Access Tool (2014). For more information, see:
3 | # https://www.cosmos.esa.int/web/hipparcos/interactive-data-access
4 | # https://www.cosmos.esa.int/web/hipparcos/catalogues
5 | #
6 | # HIP MCE NRES NC isol_n SCE F2 F1
7 | # 27321 27251 111 1 5 0 -1.63 0
8 | # Hp B-V VarAnn NOB NR
9 | # 3.9077 0.171 0 111 0
10 | # RAdeg DEdeg Plx pm_RA pm_DE e_RA e_DE e_Plx e_pmRA e_pmDE dpmRA dpmDE e_dpmRA e_dpmDE ddpmRA ddpmDE e_ddpmRA e_ddpmDE upsRA upsDE e_upsRA e_upsDE var
11 | # 86.82118073 -51.06671341 51.44 4.65 83.10 0.10 0.11 0.12 0.11 0.15 --- --- --- --- --- --- --- --- --- --- --- --- ---
12 | #
13 | # IORB EPOCH PARF CPSI SPSI RES SRES
14 | 133 -1.2445 0.6262 -0.9050 -0.4254 -0.23 0.80
15 | 133 -1.2445 0.6236 -0.9065 -0.4222 -0.92 0.81
16 | 133 -1.2445 0.6219 -0.9076 -0.4198 -1.71 0.78
17 | 194 -1.1703 -0.6485 -0.0716 0.9974 -0.82 0.86
18 | 194 -1.1703 -0.6481 -0.0723 0.9974 -0.57 0.87
19 | 194 -1.1703 -0.6512 -0.0680 0.9977 0.35 0.78
20 | 257 -1.0937 0.6739 -0.8778 0.4790 -0.26 0.78
21 | 257 -1.0937 0.6711 -0.8760 0.4823 -0.02 0.80
22 | 257 -1.0937 0.6706 -0.8756 0.4830 -0.24 0.85
23 | 327 -1.0086 -0.6786 0.8137 0.5813 -1.30 0.81
24 | 327 -1.0086 -0.6786 0.8136 0.5814 0.27 0.75
25 | 327 -1.0086 -0.6799 0.8147 0.5799 -0.04 0.82
26 | 458 -0.8493 -0.6398 0.9461 -0.3240 0.29 1.06
27 | 458 -0.8493 -0.6407 0.9457 -0.3250 -1.11 0.82
28 | 458 -0.8493 -0.6406 0.9457 -0.3250 -1.13 0.84
29 | 458 -0.8493 -0.6404 0.9458 -0.3247 -1.12 0.80
30 | 458 -0.8493 -0.6406 0.9457 -0.3250 0.56 0.91
31 | 503 -0.7944 0.6361 0.7365 0.6764 -0.44 1.10
32 | 503 -0.7944 0.6362 0.7365 0.6765 -0.38 0.96
33 | 503 -0.7944 0.6357 0.7367 0.6762 0.06 0.82
34 | 503 -0.7944 0.6373 0.7353 0.6777 0.73 0.95
35 | 585 -0.6950 -0.6561 0.2592 -0.9658 -0.17 0.70
36 | 585 -0.6950 -0.6554 0.2602 -0.9656 -0.58 0.86
37 | 585 -0.6950 -0.6549 0.2609 -0.9654 0.78 0.81
38 | 634 -0.6355 0.6735 0.9777 -0.2102 -0.26 0.80
39 | 709 -0.5443 -0.6846 -0.6216 -0.7833 -0.39 0.72
40 | 709 -0.5443 -0.6855 -0.6226 -0.7826 -0.30 0.76
41 | 709 -0.5443 -0.6854 -0.6225 -0.7826 0.14 0.73
42 | 709 -0.5443 -0.6866 -0.6238 -0.7816 -0.06 0.67
43 | 770 -0.4701 0.6726 0.3654 -0.9308 -1.23 0.84
44 | 770 -0.4701 0.6716 0.3640 -0.9314 -0.02 0.84
45 | 834 -0.3924 -0.6397 -0.9999 0.0145 -1.26 0.84
46 | 834 -0.3924 -0.6395 -0.9999 0.0141 0.71 0.77
47 | 834 -0.3924 -0.6426 -0.9998 0.0182 -0.27 0.81
48 | 834 -0.3924 -0.6421 -0.9998 0.0177 0.27 0.76
49 | 904 -0.3073 0.6172 -0.6578 -0.7532 0.13 0.70
50 | 904 -0.3073 0.6167 -0.6584 -0.7526 0.09 0.74
51 | 964 -0.2344 -0.6235 -0.4919 0.8706 0.30 1.24
52 | 964 -0.2344 -0.6226 -0.4930 0.8700 -0.99 0.86
53 | 964 -0.2344 -0.6247 -0.4904 0.8715 0.78 0.83
54 | 964 -0.2344 -0.6252 -0.4897 0.8719 -0.78 0.77
55 | 964 -0.2344 -0.6284 -0.4859 0.8740 -0.35 0.86
56 | 1031 -0.1530 0.6545 -0.9905 0.1376 0.01 0.73
57 | 1031 -0.1530 0.6535 -0.9903 0.1389 -0.42 0.84
58 | 1031 -0.1530 0.6523 -0.9901 0.1404 -0.90 0.84
59 | 1031 -0.1530 0.6512 -0.9899 0.1420 -0.32 0.88
60 | 1097 -0.0728 -0.6753 0.5283 0.8491 -2.04 1.11
61 | 1097 -0.0728 -0.6768 0.5301 0.8479 -0.32 0.89
62 | 1097 -0.0728 -0.6771 0.5305 0.8477 0.18 1.16
63 | 1097 -0.0728 -0.6782 0.5318 0.8469 -0.10 0.80
64 | 1097 -0.0728 -0.6793 0.5330 0.8461 -0.84 1.08
65 | 1153 -0.0047 0.6749 -0.4995 0.8663 -1.58 0.98
66 | 1153 -0.0047 0.6758 -0.5006 0.8657 0.16 0.91
67 | 1153 -0.0047 0.6748 -0.4994 0.8664 0.10 0.83
68 | 1153 -0.0047 0.6749 -0.4995 0.8663 0.69 1.15
69 | 1229 0.0876 -0.6539 0.9987 0.0513 -0.18 1.00
70 | 1229 0.0876 -0.6537 0.9987 0.0516 -0.80 0.83
71 | 1229 0.0876 -0.6535 0.9987 0.0518 -0.59 1.04
72 | 1229 0.0876 -0.6529 0.9986 0.0528 0.38 0.85
73 | 1275 0.1435 0.6356 0.4213 0.9069 0.30 0.85
74 | 1276 0.1447 0.6438 0.4193 0.9078 -0.49 0.77
75 | 1404 0.3002 0.6569 0.9862 0.1654 -0.45 1.06
76 | 1404 0.3002 0.6561 0.9864 0.1643 1.64 0.96
77 | 1404 0.3002 0.6577 0.9861 0.1664 -1.45 1.09
78 | 1404 0.3002 0.6574 0.9861 0.1661 0.76 0.90
79 | 1404 0.3002 0.6579 0.9860 0.1665 -2.76 1.19
80 | 1404 0.3002 0.6572 0.9861 0.1659 -0.66 0.79
81 | 1482 0.3950 -0.6833 -0.3023 -0.9532 -1.35 1.06
82 | 1482 0.3950 -0.6831 -0.3021 -0.9533 0.44 0.85
83 | 1482 0.3950 -0.6833 -0.3023 -0.9532 1.16 1.15
84 | 1482 0.3950 -0.6822 -0.3009 -0.9536 0.18 0.83
85 | 1539 0.4642 0.6899 0.7038 -0.7104 -0.57 0.85
86 | 1539 0.4642 0.6906 0.7044 -0.7098 1.14 1.22
87 | 1539 0.4642 0.6894 0.7033 -0.7109 -0.55 0.88
88 | 1539 0.4642 0.6888 0.7027 -0.7115 1.51 1.07
89 | 1607 0.5468 -0.6645 -0.9372 -0.3487 -1.32 1.23
90 | 1607 0.5468 -0.6647 -0.9374 -0.3483 -0.15 0.92
91 | 1674 0.6283 0.6337 -0.2749 -0.9615 -1.91 1.17
92 | 1674 0.6283 0.6330 -0.2756 -0.9613 0.34 1.20
93 | 1674 0.6283 0.6309 -0.2787 -0.9604 -1.10 1.07
94 | 1674 0.6283 0.6310 -0.2785 -0.9604 -0.92 0.83
95 | 1734 0.7011 -0.6202 -0.8130 0.5823 -0.89 1.18
96 | 1734 0.7011 -0.6217 -0.8121 0.5835 0.03 1.19
97 | 1734 0.7011 -0.6231 -0.8109 0.5853 1.87 0.77
98 | 1735 0.7023 -0.6205 -0.8083 0.5888 -1.75 1.18
99 | 1804 0.7862 0.6303 -0.9715 -0.2369 -0.41 0.77
100 | 1804 0.7862 0.6299 -0.9717 -0.2363 0.15 0.77
101 | 1867 0.8627 -0.6642 0.1487 0.9889 -0.65 0.76
102 | 2000 1.0242 -0.6686 0.9088 0.4172 -0.15 0.91
103 | 2049 1.0836 0.6504 0.0441 0.9990 -0.06 0.77
104 | 2049 1.0836 0.6501 0.0446 0.9990 0.11 0.73
105 | 2049 1.0836 0.6504 0.0441 0.9990 0.30 0.72
106 | 2049 1.0836 0.6505 0.0440 0.9990 -0.16 0.72
107 | 2130 1.1820 -0.6325 0.8661 -0.4998 -0.24 0.90
108 | 2130 1.1820 -0.6326 0.8661 -0.4999 -0.22 0.70
109 | 2130 1.1820 -0.6325 0.8661 -0.4999 -1.23 0.98
110 | 2130 1.1820 -0.6327 0.8659 -0.5002 -0.13 0.91
111 | 2175 1.2366 0.6384 0.8536 0.5210 0.11 1.05
112 | 2175 1.2366 0.6382 0.8537 0.5207 0.95 1.18
113 | 2175 1.2366 0.6403 0.8523 0.5231 -1.38 0.97
114 | 2175 1.2366 0.6400 0.8524 0.5229 -0.54 1.30
115 | 2256 1.3349 -0.6633 0.0709 -0.9975 -0.30 1.26
116 | 2256 1.3349 -0.6636 0.0702 -0.9975 0.30 0.96
117 | 2506 1.6387 -0.6282 -0.9787 0.2055 -0.24 0.92
118 | 2506 1.6387 -0.6284 -0.9786 0.2058 -0.21 0.81
119 | 2506 1.6387 -0.6300 -0.9781 0.2081 -0.01 0.84
120 | 2506 1.6387 -0.6319 -0.9775 0.2107 -0.44 0.76
121 | 2506 1.6387 -0.6335 -0.9771 0.2128 0.34 0.89
122 | 2677 1.8464 0.6518 -0.9908 0.1352 -0.05 0.85
123 | 2677 1.8464 0.6510 -0.9906 0.1364 -0.62 0.83
124 | 2677 1.8464 0.6507 -0.9904 0.1380 -3.04 1.63
125 |
--------------------------------------------------------------------------------
/htof/test/data_for_tests/Hip21/IntermediateData/H999999.d:
--------------------------------------------------------------------------------
1 | # This file contains residual records, extracted from the Hipparcos 2
2 | # Interactive Data Access Tool (2014). For more information, see:
3 | # https://www.cosmos.esa.int/web/hipparcos/interactive-data-access
4 | # https://www.cosmos.esa.int/web/hipparcos/catalogues
5 | # THIS FILE IS FAKE!!!!
6 | # HIP MCE NRES NC isol_n SCE F2 F1
7 | # 27321 27251 111 1 3 0 -1.63 0
8 | # Hp B-V VarAnn NOB NR
9 | # 3.9077 0.171 0 111 0
10 | # RAdeg DEdeg Plx pm_RA pm_DE e_RA e_DE e_Plx e_pmRA e_pmDE dpmRA dpmDE e_dpmRA e_dpmDE ddpmRA ddpmDE e_ddpmRA e_ddpmDE upsRA upsDE e_upsRA e_upsDE var
11 | # 86.82118073 -51.06671341 51.44 4.65 83.10 0.10 0.11 0.12 0.11 0.15 --- --- --- --- --- --- --- --- --- --- --- --- ---
12 | #
13 | # IORB EPOCH PARF CPSI SPSI RES SRES
14 | 133 -1.2445 0.6262 -0.9050 -0.4254 -0.23 0.80
15 | 133 -1.2445 0.6236 -0.9065 -0.4222 -0.92 0.81
16 | 133 -1.2445 0.6219 -0.9076 -0.4198 -1.71 0.78
17 | 194 -1.1703 -0.6485 -0.0716 0.9974 -0.82 0.86
18 | 194 -1.1703 -0.6481 -0.0723 0.9974 -0.57 0.87
19 | 194 -1.1703 -0.6512 -0.0680 0.9977 0.35 0.78
20 | 257 -1.0937 0.6739 -0.8778 0.4790 -0.26 0.78
21 | 257 -1.0937 0.6711 -0.8760 0.4823 -0.02 0.80
22 | 257 -1.0937 0.6706 -0.8756 0.4830 -0.24 0.85
23 | 327 -1.0086 -0.6786 0.8137 0.5813 -1.30 0.81
24 | 327 -1.0086 -0.6786 0.8136 0.5814 0.27 0.75
25 | 327 -1.0086 -0.6799 0.8147 0.5799 -0.04 0.82
26 | 458 -0.8493 -0.6398 0.9461 -0.3240 0.29 1.06
27 | 458 -0.8493 -0.6407 0.9457 -0.3250 -1.11 0.82
28 | 458 -0.8493 -0.6406 0.9457 -0.3250 -1.13 0.84
29 | 458 -0.8493 -0.6404 0.9458 -0.3247 -1.12 0.80
30 | 458 -0.8493 -0.6406 0.9457 -0.3250 0.56 0.91
31 | 503 -0.7944 0.6361 0.7365 0.6764 -0.44 1.10
32 | 503 -0.7944 0.6362 0.7365 0.6765 -0.38 0.96
33 | 503 -0.7944 0.6357 0.7367 0.6762 0.06 0.82
34 | 503 -0.7944 0.6373 0.7353 0.6777 0.73 0.95
35 | 585 -0.6950 -0.6561 0.2592 -0.9658 -0.17 0.70
36 | 585 -0.6950 -0.6554 0.2602 -0.9656 -0.58 0.86
37 | 585 -0.6950 -0.6549 0.2609 -0.9654 0.78 0.81
38 | 634 -0.6355 0.6735 0.9777 -0.2102 -0.26 0.80
39 | 709 -0.5443 -0.6846 -0.6216 -0.7833 -0.39 0.72
40 | 709 -0.5443 -0.6855 -0.6226 -0.7826 -0.30 0.76
41 | 709 -0.5443 -0.6854 -0.6225 -0.7826 0.14 0.73
42 | 709 -0.5443 -0.6866 -0.6238 -0.7816 -0.06 0.67
43 | 770 -0.4701 0.6726 0.3654 -0.9308 -1.23 0.84
44 | 770 -0.4701 0.6716 0.3640 -0.9314 -0.02 0.84
45 | 834 -0.3924 -0.6397 -0.9999 0.0145 -1.26 0.84
46 | 834 -0.3924 -0.6395 -0.9999 0.0141 0.71 0.77
47 | 834 -0.3924 -0.6426 -0.9998 0.0182 -0.27 0.81
48 | 834 -0.3924 -0.6421 -0.9998 0.0177 0.27 0.76
49 | 904 -0.3073 0.6172 -0.6578 -0.7532 0.13 0.70
50 | 904 -0.3073 0.6167 -0.6584 -0.7526 0.09 0.74
51 | 964 -0.2344 -0.6235 -0.4919 0.8706 0.30 1.24
52 | 964 -0.2344 -0.6226 -0.4930 0.8700 -0.99 0.86
53 | 964 -0.2344 -0.6247 -0.4904 0.8715 0.78 0.83
54 | 964 -0.2344 -0.6252 -0.4897 0.8719 -0.78 0.77
55 | 964 -0.2344 -0.6284 -0.4859 0.8740 -0.35 0.86
56 | 1031 -0.1530 0.6545 -0.9905 0.1376 0.01 0.73
57 | 1031 -0.1530 0.6535 -0.9903 0.1389 -0.42 0.84
58 | 1031 -0.1530 0.6523 -0.9901 0.1404 -0.90 0.84
59 | 1031 -0.1530 0.6512 -0.9899 0.1420 -0.32 0.88
60 | 1097 -0.0728 -0.6753 0.5283 0.8491 -2.04 1.11
61 | 1097 -0.0728 -0.6768 0.5301 0.8479 -0.32 0.89
62 | 1097 -0.0728 -0.6771 0.5305 0.8477 0.18 1.16
63 | 1097 -0.0728 -0.6782 0.5318 0.8469 -0.10 0.80
64 | 1097 -0.0728 -0.6793 0.5330 0.8461 -0.84 1.08
65 | 1153 -0.0047 0.6749 -0.4995 0.8663 -1.58 0.98
66 | 1153 -0.0047 0.6758 -0.5006 0.8657 0.16 0.91
67 | 1153 -0.0047 0.6748 -0.4994 0.8664 0.10 0.83
68 | 1153 -0.0047 0.6749 -0.4995 0.8663 0.69 1.15
69 | 1229 0.0876 -0.6539 0.9987 0.0513 -0.18 1.00
70 | 1229 0.0876 -0.6537 0.9987 0.0516 -0.80 0.83
71 | 1229 0.0876 -0.6535 0.9987 0.0518 -0.59 1.04
72 | 1229 0.0876 -0.6529 0.9986 0.0528 0.38 0.85
73 | 1275 0.1435 0.6356 0.4213 0.9069 0.30 0.85
74 | 1276 0.1447 0.6438 0.4193 0.9078 -0.49 0.77
75 | 1404 0.3002 0.6569 0.9862 0.1654 -0.45 1.06
76 | 1404 0.3002 0.6561 0.9864 0.1643 1.64 0.96
77 | 1404 0.3002 0.6577 0.9861 0.1664 -1.45 1.09
78 | 1404 0.3002 0.6574 0.9861 0.1661 0.76 0.90
79 | 1404 0.3002 0.6579 0.9860 0.1665 -2.76 1.19
80 | 1404 0.3002 0.6572 0.9861 0.1659 -0.66 0.79
81 | 1482 0.3950 -0.6833 -0.3023 -0.9532 -1.35 1.06
82 | 1482 0.3950 -0.6831 -0.3021 -0.9533 0.44 0.85
83 | 1482 0.3950 -0.6833 -0.3023 -0.9532 1.16 1.15
84 | 1482 0.3950 -0.6822 -0.3009 -0.9536 0.18 0.83
85 | 1539 0.4642 0.6899 0.7038 -0.7104 -0.57 0.85
86 | 1539 0.4642 0.6906 0.7044 -0.7098 1.14 1.22
87 | 1539 0.4642 0.6894 0.7033 -0.7109 -0.55 0.88
88 | 1539 0.4642 0.6888 0.7027 -0.7115 1.51 1.07
89 | 1607 0.5468 -0.6645 -0.9372 -0.3487 -1.32 1.23
90 | 1607 0.5468 -0.6647 -0.9374 -0.3483 -0.15 0.92
91 | 1674 0.6283 0.6337 -0.2749 -0.9615 -1.91 1.17
92 | 1674 0.6283 0.6330 -0.2756 -0.9613 0.34 1.20
93 | 1674 0.6283 0.6309 -0.2787 -0.9604 -1.10 1.07
94 | 1674 0.6283 0.6310 -0.2785 -0.9604 -0.92 0.83
95 | 1734 0.7011 -0.6202 -0.8130 0.5823 -0.89 1.18
96 | 1734 0.7011 -0.6217 -0.8121 0.5835 0.03 1.19
97 | 1734 0.7011 -0.6231 -0.8109 0.5853 1.87 0.77
98 | 1735 0.7023 -0.6205 -0.8083 0.5888 -1.75 1.18
99 | 1804 0.7862 0.6303 -0.9715 -0.2369 -0.41 0.77
100 | 1804 0.7862 0.6299 -0.9717 -0.2363 0.15 0.77
101 | 1867 0.8627 -0.6642 0.1487 0.9889 -0.65 0.76
102 | 2000 1.0242 -0.6686 0.9088 0.4172 -0.15 0.91
103 | 2049 1.0836 0.6504 0.0441 0.9990 -0.06 0.77
104 | 2049 1.0836 0.6501 0.0446 0.9990 0.11 0.73
105 | 2049 1.0836 0.6504 0.0441 0.9990 0.30 0.72
106 | 2049 1.0836 0.6505 0.0440 0.9990 -0.16 0.72
107 | 2130 1.1820 -0.6325 0.8661 -0.4998 -0.24 0.90
108 | 2130 1.1820 -0.6326 0.8661 -0.4999 -0.22 0.70
109 | 2130 1.1820 -0.6325 0.8661 -0.4999 -1.23 0.98
110 | 2130 1.1820 -0.6327 0.8659 -0.5002 -0.13 0.91
111 | 2175 1.2366 0.6384 0.8536 0.5210 0.11 1.05
112 | 2175 1.2366 0.6382 0.8537 0.5207 0.95 1.18
113 | 2175 1.2366 0.6403 0.8523 0.5231 -1.38 0.97
114 | 2175 1.2366 0.6400 0.8524 0.5229 -0.54 1.30
115 | 2256 1.3349 -0.6633 0.0709 -0.9975 -0.30 1.26
116 | 2256 1.3349 -0.6636 0.0702 -0.9975 0.30 0.96
117 | 2506 1.6387 -0.6282 -0.9787 0.2055 -0.24 0.92
118 | 2506 1.6387 -0.6284 -0.9786 0.2058 -0.21 0.81
119 | 2506 1.6387 -0.6300 -0.9781 0.2081 -0.01 0.84
120 | 2506 1.6387 -0.6319 -0.9775 0.2107 -0.44 0.76
121 | 2506 1.6387 -0.6335 -0.9771 0.2128 0.34 0.89
122 | 2677 1.8464 0.6518 -0.9908 0.1352 -0.05 0.85
123 | 2677 1.8464 0.6510 -0.9906 0.1364 -0.62 0.83
124 | 2677 1.8464 0.6507 -0.9904 0.1380 -3.04 1.63
125 |
--------------------------------------------------------------------------------
/htof/sky_path.py:
--------------------------------------------------------------------------------
1 | """
2 | This module provides functions for calculating the astrometric paths of stars on the sky as seen by an
3 | observer in orbit around the solar system barycentre. That is, the topocentric coordinate directions as a
4 | function of time are calculated.
5 |
6 | Author: Anthony Brown Nov 2018 - Nov 2018
7 |
8 | From https://github.com/agabrown/astrometric-sky-path/ from commit: 039768eae04dca0b9b6615cccfc021e6a381bf4d
9 | Reproduced with permission of the author.
10 | """
11 |
12 | import numpy as np
13 |
14 | from astropy import constants
15 | from astropy import units
16 | from astropy.time import Time
17 | from astropy.coordinates import Angle
18 | from astropy.coordinates import get_body_barycentric
19 |
20 |
21 | def earth_ephemeris(t):
22 | """
23 | Calculate the ephemeris for the earth in the BCRS using astropy tools.
24 |
25 | NOTE: There are several versions of the solar system ephemeris available in astropy and others can be
26 | provided through a URL (see the documentation of astropy.coordinates.solar_system_ephemeris).
27 | Depending on the accuracy needed, employing an ephemeris different from the default may be better.
28 |
29 | Parameters
30 | ----------
31 |
32 | t : array
33 | Barycentric Julian Year times at which to calculate the ephemeris.
34 |
35 | Returns
36 | -------
37 |
38 | Array of shape (3,t.size) representing the xyz components of the ephemeris at times t.
39 |
40 | Note: the units of angle should be radians and the units of time Julian years ('jyear'),
41 | while the distance unit is the AU.
42 | """
43 | times = Time(t, format='jyear', scale='tcb') # 'tcb': Barycentric Coordinate Time (TCB)
44 | ephemeris = get_body_barycentric('earth', times) # unit A.U.
45 | return np.vstack((ephemeris.x.value, ephemeris.y.value, ephemeris.z.value))
46 |
47 |
48 | def earth_sun_l2_ephemeris(t):
49 | """
50 | Calculate the ephemeris for earth-sun L2 point in the BCRS using astropy tools.
51 |
52 | :param t: float array.
53 | Times at which to calculate the ephemeris in Julian years TCB.
54 | :return: float array.
55 | Array of shape (3,t.size) representing the xyz components of the ephemeris at times t.
56 |
57 | Note: 1.511 / 1.496 is the ratio of L2 semi-major axis to the earth's semi-major axis.
58 | """
59 | return earth_ephemeris(t) * 1.511 / 1.496
60 |
61 |
62 | def epoch_topocentric_coordinates(alpha, delta, parallax, mura, mudec, vrad, t, refepoch, ephem):
63 | """
64 | For each observation epoch calculate the topocentric (as seen from a location on the earth's surface)
65 | coordinate directions (alpha(t), delta(t)) given the astrometric parameters of a source, the observation times,
66 | and the ephemeris (in the BCRS) for the observer. Also calculate the local plane coordinates xi(t) and eta(t).
67 |
68 | The code is partly based on the SOFA library (http://www.iausofa.org/) pmpx.c code.
69 |
70 | Parameters
71 | ----------
72 |
73 | alpha : float
74 | Right ascension at reference epoch (radians)
75 | delta : float
76 | Declination at reference epoch (radians)
77 | parallax : float
78 | Parallax (mas), negative values allowed
79 | mura : float
80 | Proper motion in right ascension, including cos(delta) factor (mas/yr)
81 | mudec : float
82 | Proper motion in declination (mas/yr)
83 | vrad : float
84 | Radial velocity (km/s)
85 | t : float array
86 | Observation times (Julian year TCB)
87 | refepoch : float
88 | Reference epoch (Julian year TCB)
89 | ephem : function
90 | Function providing the observer's ephemeris in BCRS at times t (units of AU)
91 |
92 | Returns (array, array, array, array)
93 | -------
94 |
95 | Arrays alpha, delta, xi, eta. Units are radians for (alpha, delta) and rad for (xi, eta).
96 | """
97 | # unit conversions
98 | _radtomas = (180 * 3600 * 1000) / np.pi
99 | _mastorad = np.pi / (180 * 3600 * 1000)
100 | _kmps_to_aupyr = (units.year.to(units.s) * units.km.to(units.m)) / constants.au.value
101 |
102 | # Normal triad, defined at the reference epoch.
103 | p = np.array([-np.sin(alpha), np.cos(alpha), 0.0])
104 | q = np.array([-np.sin(delta) * np.cos(alpha), -np.sin(delta) * np.sin(alpha), np.cos(delta)])
105 | r = np.array([np.cos(delta) * np.cos(alpha), np.cos(delta) * np.sin(alpha), np.sin(delta)])
106 |
107 | # Calculate observer's ephemeris.
108 | bO_bcrs = ephem(t)
109 |
110 | # Calculate the Roemer delay, take units into account.
111 | tB = t + np.dot(r, bO_bcrs) * constants.au.value / constants.c.value / units.year.to(units.s)
112 |
113 | plxrad = parallax*_mastorad
114 | murarad = mura*_mastorad
115 | mudecrad = mudec*_mastorad
116 | mur = vrad*_kmps_to_aupyr*np.abs(plxrad)
117 |
118 | uO = np.repeat(r, t.size).reshape((r.size, t.size))
119 | uO = uO + np.tensordot((p*murarad + q*mudecrad + r*mur), (tB-refepoch), axes=0) - plxrad*bO_bcrs
120 |
121 | # Local plane coordinates which approximately equal delta_alpha*cos(delta) and delta_delta
122 | xi = np.dot(p, uO)/np.dot(r, uO)
123 | eta = np.dot(q, uO)/np.dot(r, uO)
124 |
125 | alpha_obs = np.arctan2(uO[1, :], uO[0, :])
126 | delta_obs = np.arctan2(uO[2, :], np.sqrt(uO[0, :]**2+uO[1, :]**2))
127 |
128 | return alpha_obs, delta_obs, xi, eta
129 |
130 |
131 | def parallactic_motion(epochs, cntr_ra, cntr_dec, unit, refepoch, ephemeris=earth_ephemeris, parallax=1):
132 | """
133 | :param epochs: array of times in Julian year. Use astropy.time.Time.jyear to convert outside of this.
134 | :param cntr_ra: right ascension coordinate about which to calculate the parallactic motion. Should be in
135 | the appropriate form for having units of unit.
136 | :param cntr_dec: declination coordinate about which to calculate the parallactic motion. Should be in
137 | the appropriate form for having units of unit.
138 | :param unit: from Astropy.unit. Must be such that astropy.coordinates.Angle(cntr_ra, unit=unit) is sensical.
139 | :param refepoch: reference epoch in julian year.
140 | :param parallax: float. The parallax angle in milli-arcseconds.
141 | :param ephemeris: function.
142 | Function which intakes an array of Julian years and returns an array of shape (3,t.size)
143 | with the xyz components of the ephemeris at times t (along rows 0, 1 and 2 respectively).
144 | :return: [array, array]
145 | parallax motion about the center coordinate. E.g. Parallax_ra - cntr_ra and Parallax_dec - cntr_dec
146 | Where Parallax_ra would be an array of RA coordinates for parallax motion alone
147 | Output will have units of unit.
148 | """
149 | delta_ra, delta_dec = epoch_topocentric_coordinates(Angle(cntr_ra, unit=unit).rad,
150 | Angle(cntr_dec, unit=unit).rad, parallax,
151 | mura=0, mudec=0, vrad=0, t=epochs,
152 | refepoch=refepoch, ephem=ephemeris)[2:]
153 | delta_ra, delta_dec = Angle(delta_ra, unit='radian').to(unit).value, Angle(delta_dec, unit='radian').to(unit).value
154 | return delta_ra, delta_dec
--------------------------------------------------------------------------------
/htof/test/data_for_tests/Hip21/IntermediateData/H094312.d:
--------------------------------------------------------------------------------
1 | # This file contains residual records, extracted from the Hipparcos 2
2 | # Interactive Data Access Tool (2014). For more information, see:
3 | # https://www.cosmos.esa.int/web/hipparcos/interactive-data-access
4 | # https://www.cosmos.esa.int/web/hipparcos/catalogues
5 | #
6 | # HIP MCE NRES NC isol_n SCE F2 F1
7 | # 94312 93997 113 1 5 0 10.00 0
8 | # Hp B-V VarAnn NOB NR
9 | # 12.5469 0.000 0 108 0
10 | # RAdeg DEdeg Plx pm_RA pm_DE e_RA e_DE e_Plx e_pmRA e_pmDE dpmRA dpmDE e_dpmRA e_dpmDE ddpmRA ddpmDE e_ddpmRA e_ddpmDE upsRA upsDE e_upsRA e_upsDE var
11 | # 287.94311048 -31.12939870 -2.35 13.07 -1.89 7.24 3.32 7.36 9.20 5.38 --- --- --- --- --- --- --- --- --- --- --- --- ---
12 | #
13 | # IORB EPOCH PARF CPSI SPSI RES SRES
14 | 298 -1.0438 -0.5973 -0.4887 -0.8724 26.57 11.95
15 | 298 -1.0438 -0.5980 -0.4891 -0.8723 -24.53 11.42
16 | 298 -1.0438 -0.5978 -0.4890 -0.8723 -1.17 13.53
17 | 353 -0.9770 0.6771 0.7554 -0.6552 -3.18 13.11
18 | 354 -0.9759 0.6763 0.7544 -0.6564 0.70 13.27
19 | 354 -0.9759 0.6759 0.7540 -0.6569 -16.39 12.52
20 | 691 -0.5661 0.4661 -0.7003 0.7139 43.67 16.82
21 | 691 -0.5661 0.4654 -0.6994 0.7148 -4.13 12.32
22 | 691 -0.5661 0.4611 -0.6954 0.7186 9.14 17.36
23 | 691 -0.5661 0.4614 -0.6957 0.7183 -6.10 13.11
24 | 738 -0.5090 -0.6619 0.5510 0.8345 -22.00 14.56
25 | 738 -0.5090 -0.6620 0.5511 0.8344 -4.78 12.77
26 | 797 -0.4373 0.6263 -0.7129 0.7013 -63.39 14.06
27 | 1082 -0.0910 -0.3549 -0.2214 -0.9752 -6.44 13.96
28 | 1082 -0.0910 -0.3499 -0.2154 -0.9765 -30.57 12.58
29 | 1082 -0.0910 -0.3514 -0.2168 -0.9762 -7.16 12.07
30 | 1082 -0.0910 -0.3481 -0.2122 -0.9772 22.51 15.10
31 | 1082 -0.0910 -0.3430 -0.2058 -0.9786 0.44 15.92
32 | 1116 -0.0497 0.5766 0.7530 -0.6580 -15.21 13.21
33 | 1117 -0.0485 0.5821 0.7556 -0.6550 -61.48 14.09
34 | 1117 -0.0485 0.5834 0.7566 -0.6539 23.71 12.82
35 | 1117 -0.0485 0.5862 0.7592 -0.6508 34.70 16.31
36 | 1185 0.0341 -0.6648 -0.5951 -0.8036 -27.88 13.26
37 | 1482 0.3950 -0.0298 -0.2254 0.9743 -31.36 12.76
38 | 1483 0.3961 -0.0388 -0.2127 0.9771 12.04 15.80
39 | 1483 0.3961 -0.0386 -0.2136 0.9769 -17.11 14.77
40 | 1483 0.3961 -0.0438 -0.2053 0.9787 -33.57 15.63
41 | 1483 0.3961 -0.0449 -0.2041 0.9789 -12.71 15.81
42 | 1483 0.3961 -0.0484 -0.1992 0.9800 17.68 14.12
43 | 1483 0.3961 -0.0495 -0.1989 0.9800 -13.25 13.24
44 | 1484 0.3974 -0.0675 -0.1732 0.9849 -13.92 13.33
45 | 1484 0.3974 -0.0684 -0.1723 0.9850 -10.74 14.13
46 | 1484 0.3974 -0.0724 -0.1670 0.9860 -0.07 14.77
47 | 1484 0.3974 -0.0726 -0.1661 0.9861 -29.51 12.74
48 | 1484 0.3974 -0.0778 -0.1594 0.9872 11.56 11.42
49 | 1484 0.3974 -0.0788 -0.1580 0.9874 -48.46 14.17
50 | 1485 0.3986 -0.0851 -0.1477 0.9890 -41.24 13.42
51 | 1485 0.3986 -0.0855 -0.1471 0.9891 2.76 16.88
52 | 1485 0.3986 -0.0913 -0.1399 0.9902 -22.49 15.30
53 | 1485 0.3986 -0.0921 -0.1387 0.9903 -39.96 16.76
54 | 1485 0.3986 -0.0963 -0.1338 0.9910 -31.20 14.94
55 | 1485 0.3986 -0.0969 -0.1327 0.9912 -4.67 13.92
56 | 1485 0.3986 -0.1013 -0.1262 0.9920 23.06 13.53
57 | 1485 0.3986 -0.1013 -0.1260 0.9920 17.68 16.48
58 | 1486 0.3996 -0.1097 -0.1142 0.9935 38.87 15.25
59 | 1486 0.3996 -0.1104 -0.1134 0.9935 -20.23 16.64
60 | 1486 0.3996 -0.1157 -0.1068 0.9943 6.29 15.79
61 | 1486 0.3996 -0.1154 -0.1069 0.9943 -37.60 18.45
62 | 1486 0.3996 -0.1213 -0.0984 0.9951 -20.64 17.07
63 | 1487 0.4010 -0.1335 -0.0813 0.9967 -1.44 14.95
64 | 1487 0.4010 -0.1350 -0.0799 0.9968 66.86 21.13
65 | 1487 0.4010 -0.1393 -0.0740 0.9973 5.03 17.32
66 | 1487 0.4010 -0.1405 -0.0730 0.9973 -1.05 22.23
67 | 1487 0.4010 -0.1459 -0.0662 0.9978 16.38 16.66
68 | 1487 0.4010 -0.1462 -0.0650 0.9979 3.07 19.40
69 | 1488 0.4024 -0.1641 -0.0403 0.9992 11.19 17.75
70 | 1488 0.4024 -0.1651 -0.0394 0.9992 4.26 17.77
71 | 1488 0.4024 -0.1690 -0.0333 0.9994 -9.98 16.35
72 | 1488 0.4024 -0.1686 -0.0326 0.9995 -21.34 14.53
73 | 1488 0.4024 -0.1759 -0.0247 0.9997 0.87 16.40
74 | 1489 0.4035 -0.1821 -0.0149 0.9999 3.74 16.29
75 | 1489 0.4035 -0.1837 -0.0135 0.9999 8.43 16.58
76 | 1489 0.4035 -0.1889 -0.0063 1.0000 26.97 16.38
77 | 1489 0.4035 -0.1883 -0.0065 1.0000 24.11 18.32
78 | 1489 0.4035 -0.1939 -0.0001 1.0000 -9.92 17.30
79 | 1489 0.4035 -0.1943 0.0007 1.0000 -7.60 19.17
80 | 1489 0.4035 -0.1998 0.0082 1.0000 -28.10 17.88
81 | 1489 0.4035 -0.2006 0.0090 1.0000 -23.44 15.94
82 | 1490 0.4047 -0.2100 0.0217 0.9998 26.19 16.90
83 | 1490 0.4047 -0.2134 0.0276 0.9996 -12.19 19.87
84 | 1490 0.4047 -0.2146 0.0285 0.9996 5.12 17.81
85 | 1490 0.4047 -0.2191 0.0344 0.9994 19.28 14.22
86 | 1490 0.4047 -0.2201 0.0352 0.9994 -19.79 18.99
87 | 1490 0.4047 -0.2233 0.0404 0.9992 -13.94 17.34
88 | 1490 0.4047 -0.2233 0.0401 0.9992 -3.44 13.26
89 | 1491 0.4059 -0.2343 0.0549 0.9985 34.86 12.54
90 | 1491 0.4059 -0.2344 0.0558 0.9984 22.86 13.04
91 | 1491 0.4059 -0.2379 0.0601 0.9982 -8.32 13.21
92 | 1491 0.4059 -0.2378 0.0599 0.9982 20.10 13.40
93 | 1491 0.4059 -0.2433 0.0670 0.9978 1.19 13.91
94 | 1491 0.4059 -0.2444 0.0683 0.9977 5.71 14.07
95 | 1491 0.4059 -0.2482 0.0735 0.9973 17.60 12.65
96 | 1491 0.4059 -0.2486 0.0739 0.9973 44.77 15.83
97 | 1492 0.4071 -0.2584 0.0870 0.9962 -0.28 17.71
98 | 1492 0.4071 -0.2591 0.0877 0.9961 20.09 16.00
99 | 1492 0.4071 -0.2622 0.0932 0.9956 -15.77 17.28
100 | 1492 0.4071 -0.2677 0.0997 0.9950 52.37 16.74
101 | 1651 0.6003 -0.4791 0.5192 0.8546 4.25 15.21
102 | 1651 0.6003 -0.4784 0.5180 0.8554 1.37 16.25
103 | 1651 0.6003 -0.4751 0.5145 0.8575 8.87 14.38
104 | 1651 0.6003 -0.4735 0.5127 0.8586 -65.57 11.36
105 | 1651 0.6003 -0.4714 0.5104 0.8599 31.09 14.97
106 | 1676 0.6307 0.2052 -0.2667 0.9638 12.58 14.10
107 | 1676 0.6307 0.2110 -0.2742 0.9617 17.26 14.40
108 | 1676 0.6307 0.2115 -0.2746 0.9616 -23.89 17.27
109 | 1676 0.6307 0.2148 -0.2787 0.9604 37.79 13.23
110 | 1676 0.6307 0.2123 -0.2786 0.9604 -13.17 15.49
111 | 1676 0.6307 0.2202 -0.2864 0.9581 65.18 16.50
112 | 1965 0.9816 -0.6574 -0.5516 -0.8341 7.63 20.40
113 | 1965 0.9816 -0.6575 -0.5516 -0.8341 11.20 15.72
114 | 1965 0.9816 -0.6560 -0.5505 -0.8349 5.04 17.41
115 | 2030 1.0606 0.6070 0.6931 -0.7208 -14.12 14.88
116 | 2030 1.0606 0.6063 0.6927 -0.7212 -10.85 16.04
117 | 2031 1.0618 0.6006 0.6874 -0.7263 -19.39 14.42
118 | 2070 1.1091 -0.3531 -0.4160 -0.9094 3.27 14.17
119 | 2070 1.1091 -0.3559 -0.4194 -0.9078 -13.46 14.73
120 | 2070 1.1091 -0.3579 -0.4213 -0.9069 -45.85 12.32
121 | 2070 1.1091 -0.3612 -0.4259 -0.9048 41.97 11.84
122 | 2070 1.1091 -0.3614 -0.4257 -0.9049 -10.89 14.73
123 | 2070 1.1091 -0.3640 -0.4288 -0.9034 -558.70 5.06
124 | 2070 1.1091 -0.3636 -0.4291 -0.9032 90.84 6.70
125 | 2728 1.9082 -0.3498 -0.2164 -0.9763 -45.36 12.32
126 | 2728 1.9082 -0.3497 -0.2154 -0.9765 42.45 11.84
127 |
--------------------------------------------------------------------------------
/htof/test/data_for_tests/Hip21/IntermediateData/H000039.d:
--------------------------------------------------------------------------------
1 | # This file contains residual records, extracted from the Hipparcos 2
2 | # Interactive Data Access Tool (2014). For more information, see:
3 | # https://www.cosmos.esa.int/web/hipparcos/interactive-data-access
4 | # https://www.cosmos.esa.int/web/hipparcos/catalogues
5 | #
6 | # HIP MCE NRES NC isol_n SCE F2 F1
7 | # 39 39 114 1 5 0 1.03 0
8 | # Hp B-V VarAnn NOB NR
9 | # 7.5669 0.475 0 113 0
10 | # RAdeg DEdeg Plx pm_RA pm_DE e_RA e_DE e_Plx e_pmRA e_pmDE dpmRA dpmDE e_dpmRA e_dpmDE ddpmRA ddpmDE e_ddpmRA e_ddpmDE upsRA upsDE e_upsRA e_upsDE var
11 | # 0.11186159 -16.69693029 10.81 167.23 -32.19 0.59 0.43 0.74 0.84 0.38 --- --- --- --- --- --- --- --- --- --- --- --- ---
12 | #
13 | # IORB EPOCH PARF CPSI SPSI RES SRES
14 | 434 -0.8785 -0.5276 -0.0603 -0.9982 4.17 3.09
15 | 435 -0.8773 -0.5236 -0.0549 -0.9985 2.62 2.80
16 | 544 -0.7448 -0.6122 -0.3466 -0.9380 0.81 2.33
17 | 544 -0.7448 -0.6140 -0.3489 -0.9371 -6.23 2.86
18 | 544 -0.7448 -0.6129 -0.3476 -0.9376 0.72 2.35
19 | 823 -0.4057 0.2796 -0.8505 0.5260 -1.53 2.54
20 | 823 -0.4057 0.2789 -0.8500 0.5268 0.75 1.76
21 | 823 -0.4057 0.2764 -0.8481 0.5298 6.11 2.59
22 | 823 -0.4057 0.2752 -0.8474 0.5310 1.69 1.84
23 | 823 -0.4057 0.2717 -0.8446 0.5354 0.39 2.54
24 | 823 -0.4057 0.2711 -0.8445 0.5356 -2.52 1.88
25 | 824 -0.4045 0.2670 -0.8380 0.5456 -3.76 2.08
26 | 857 -0.3644 -0.5321 0.0822 0.9966 1.49 3.53
27 | 857 -0.3644 -0.5324 0.0823 0.9966 0.52 4.82
28 | 857 -0.3644 -0.5367 0.0885 0.9961 -4.07 3.30
29 | 857 -0.3644 -0.5365 0.0884 0.9961 -2.71 4.38
30 | 857 -0.3644 -0.5405 0.0934 0.9956 -2.96 2.19
31 | 857 -0.3644 -0.5410 0.0943 0.9955 -1.03 2.09
32 | 925 -0.2818 0.6671 -0.9123 0.4096 -3.87 4.22
33 | 925 -0.2818 0.6664 -0.9119 0.4104 4.32 2.63
34 | 1009 -0.1796 -0.1821 0.0678 0.9977 -4.88 3.68
35 | 1010 -0.1785 -0.1692 0.0538 0.9986 -0.71 4.69
36 | 1010 -0.1785 -0.1639 0.0465 0.9989 0.16 3.21
37 | 1010 -0.1785 -0.1587 0.0397 0.9992 -5.25 4.42
38 | 1010 -0.1785 -0.1586 0.0400 0.9992 2.09 3.16
39 | 1010 -0.1785 -0.1536 0.0327 0.9995 3.32 3.99
40 | 1011 -0.1773 -0.1451 0.0257 0.9997 7.37 3.72
41 | 1011 -0.1773 -0.1458 0.0264 0.9997 6.84 3.65
42 | 1011 -0.1773 -0.1402 0.0188 0.9998 2.04 3.72
43 | 1011 -0.1773 -0.1401 0.0187 0.9998 3.15 3.19
44 | 1011 -0.1773 -0.1358 0.0125 0.9999 -8.75 3.79
45 | 1011 -0.1773 -0.1354 0.0121 0.9999 7.35 3.11
46 | 1011 -0.1773 -0.1306 0.0052 1.0000 -1.30 3.87
47 | 1011 -0.1773 -0.1292 0.0034 1.0000 3.66 3.10
48 | 1011 -0.1773 -0.1248 -0.0024 1.0000 3.70 3.53
49 | 1011 -0.1773 -0.1200 -0.0041 1.0000 -11.38 7.99
50 | 1012 -0.1761 -0.1160 -0.0094 1.0000 0.79 3.74
51 | 1012 -0.1761 -0.1164 -0.0097 1.0000 -0.53 4.95
52 | 1012 -0.1761 -0.1116 -0.0161 0.9999 2.98 3.69
53 | 1012 -0.1761 -0.1110 -0.0166 0.9999 1.36 5.18
54 | 1012 -0.1761 -0.1057 -0.0239 0.9997 1.66 4.42
55 | 1012 -0.1761 -0.1057 -0.0238 0.9997 3.62 5.45
56 | 1012 -0.1761 -0.1014 -0.0305 0.9995 -3.59 4.66
57 | 1012 -0.1761 -0.1011 -0.0304 0.9995 -7.21 4.65
58 | 1012 -0.1761 -0.0956 -0.0379 0.9993 4.98 4.58
59 | 1012 -0.1761 -0.0951 -0.0393 0.9992 -6.96 5.06
60 | 1013 -0.1750 -0.0828 -0.0518 0.9987 -0.45 3.65
61 | 1013 -0.1750 -0.0783 -0.0581 0.9983 4.91 4.46
62 | 1221 0.0779 -0.1819 0.4122 -0.9111 -1.79 2.38
63 | 1221 0.0779 -0.1800 0.4138 -0.9104 10.05 5.00
64 | 1221 0.0779 -0.1776 0.4172 -0.9088 1.98 2.53
65 | 1221 0.0779 -0.1764 0.4188 -0.9081 -1.60 4.94
66 | 1221 0.0779 -0.1725 0.4238 -0.9058 -2.33 2.78
67 | 1221 0.0779 -0.1719 0.4244 -0.9055 5.34 5.03
68 | 1242 0.1034 0.4162 0.8975 -0.4411 -2.08 1.91
69 | 1242 0.1034 0.4175 0.8983 -0.4394 2.10 1.77
70 | 1243 0.1046 0.4296 0.9027 -0.4303 -0.01 1.99
71 | 1243 0.1046 0.4334 0.9053 -0.4248 3.23 2.82
72 | 1243 0.1046 0.4335 0.9053 -0.4247 1.06 1.84
73 | 1323 0.2018 -0.6904 -0.3207 -0.9472 6.84 5.40
74 | 1323 0.2018 -0.6919 -0.3226 -0.9466 -4.26 4.90
75 | 1323 0.2018 -0.6908 -0.3211 -0.9470 -0.70 5.20
76 | 1323 0.2018 -0.6913 -0.3218 -0.9468 -0.12 4.76
77 | 1402 0.2977 0.4332 0.7035 -0.7107 -1.18 2.68
78 | 1402 0.2977 0.4336 0.7036 -0.7106 2.13 3.80
79 | 1402 0.2977 0.4295 0.6996 -0.7145 -2.99 1.82
80 | 1402 0.2977 0.4293 0.6995 -0.7147 4.33 1.96
81 | 1402 0.2977 0.4270 0.6972 -0.7169 -1.28 1.51
82 | 1402 0.2977 0.4247 0.6951 -0.7189 -1.02 1.34
83 | 1403 0.2991 0.4107 0.6814 -0.7319 -0.33 2.22
84 | 1426 0.3270 -0.1196 0.0132 -0.9999 -3.49 5.04
85 | 1426 0.3270 -0.1208 0.0117 -0.9999 -0.33 3.13
86 | 1426 0.3270 -0.1242 0.0065 -1.0000 6.13 5.16
87 | 1426 0.3270 -0.1245 0.0067 -1.0000 2.51 2.93
88 | 1426 0.3270 -0.1298 -0.0010 -1.0000 -2.23 3.80
89 | 1426 0.3270 -0.1302 -0.0007 -1.0000 1.96 6.28
90 | 1768 0.7424 -0.6332 0.3561 0.9345 -0.83 3.24
91 | 1768 0.7424 -0.6321 0.3547 0.9350 0.87 3.07
92 | 1768 0.7424 -0.6321 0.3545 0.9350 -2.15 3.22
93 | 1768 0.7424 -0.6316 0.3539 0.9353 0.43 2.19
94 | 1808 0.7910 0.4391 -0.7220 0.6919 -0.01 1.91
95 | 1808 0.7910 0.4424 -0.7252 0.6885 -1.47 1.92
96 | 1808 0.7910 0.4426 -0.7254 0.6884 -0.26 1.63
97 | 2102 1.1479 -0.6180 -0.1842 -0.9829 -2.27 2.54
98 | 2102 1.1479 -0.6187 -0.1851 -0.9827 0.48 2.77
99 | 2102 1.1479 -0.6164 -0.1821 -0.9833 5.97 3.09
100 | 2102 1.1479 -0.6166 -0.1824 -0.9832 1.12 2.02
101 | 2488 1.6167 0.4489 -0.9106 0.4133 5.57 2.74
102 | 2488 1.6167 0.4492 -0.9107 0.4132 -3.90 2.34
103 | 2488 1.6167 0.4450 -0.9084 0.4182 3.27 3.48
104 | 2535 1.6741 -0.6485 0.2497 0.9683 1.70 3.32
105 | 2535 1.6741 -0.6494 0.2511 0.9680 4.61 3.36
106 | 2654 1.8182 -0.2200 0.1075 0.9942 -0.30 2.80
107 | 2655 1.8195 -0.1953 0.0792 0.9969 -2.80 2.64
108 | 2655 1.8195 -0.1943 0.0780 0.9970 0.84 3.04
109 | 2655 1.8195 -0.1898 0.0718 0.9974 1.40 2.75
110 | 2655 1.8195 -0.1893 0.0710 0.9975 1.59 3.34
111 | 2655 1.8195 -0.1852 0.0653 0.9979 1.69 3.08
112 | 2655 1.8195 -0.1843 0.0639 0.9980 -3.99 3.25
113 | 2656 1.8209 -0.1562 0.0308 0.9995 1.21 2.53
114 | 2656 1.8209 -0.1534 0.0278 0.9996 1.92 2.85
115 | 2657 1.8219 -0.1366 0.0081 1.0000 -0.14 2.45
116 | 2657 1.8219 -0.1377 0.0094 1.0000 5.06 3.03
117 | 2657 1.8219 -0.1323 0.0022 1.0000 -0.59 2.64
118 | 2657 1.8219 -0.1305 -0.0002 1.0000 0.39 2.96
119 | 2657 1.8219 -0.1270 -0.0050 1.0000 4.61 3.35
120 | 2657 1.8219 -0.1265 -0.0056 1.0000 1.52 3.05
121 | 2658 1.8230 -0.1095 -0.0254 0.9997 -3.63 2.54
122 | 2658 1.8230 -0.1085 -0.0259 0.9997 -2.25 1.91
123 | 2658 1.8230 -0.1048 -0.0316 0.9995 -3.48 2.99
124 | 2658 1.8230 -0.1033 -0.0337 0.9994 -4.61 4.61
125 | 2660 1.8257 -0.0434 -0.1066 0.9943 0.04 2.75
126 | 2660 1.8257 -0.0407 -0.1097 0.9940 -3.21 3.04
127 | 2660 1.8257 -0.0364 -0.1156 0.9933 -3.28 3.04
128 |
--------------------------------------------------------------------------------
/htof/test/data_for_tests/Hip1/IntermediateData/46979.txt:
--------------------------------------------------------------------------------
1 | IH1 : 46979 Hipparcos Catalogue (HIP) identifier
2 | IH2 : 7.85 Provisional Hp magnitude used for the merging (mag)
3 | IH3 : 143.62466271 Right ascension alpha (deg)
4 | IH4 : -40.46580315 Declination delta (deg)
5 | IH5 : 6.21 Trigonometric parallax pi (mas)
6 | IH6 : -71.42 Proper motion in right ascension mu_alpha* (mas/year)
7 | IH7 : 12.97 Proper motion in declination mu_delta (mas/year)
8 | IH8 : 7 Code for adopted solution (5, 7, 9, C, O, V, X, -)
9 | IH9 : 96 Number of following abscissae records, N_A
10 | ABCISSAE
11 | A1 | |IA3 |IA4 |IA5 |IA6 |IA7 |IA8 |IA9 |IA10
12 | 57|N|-0.9238|-0.3835|-0.6685| 1.2350| 0.5127| 4.54| 3.21|
13 | 117|F|-0.0723|-0.9973| 0.6410| 0.0914| 1.2601| 2.97| 3.50|0.700
14 | 117|N|-0.0720|-0.9975| 0.6409| 0.0910| 1.2604| 2.45| 4.20|0.700
15 | 118|F|-0.0836|-0.9965| 0.6344| 0.1056| 1.2585| -4.23| 3.08|0.609
16 | 118|N|-0.0849|-0.9964| 0.6344| 0.1072| 1.2582| -2.79| 2.83|0.609
17 | 171|F|-0.9758| 0.2189|-0.5124| 1.1692|-0.2623| -1.89| 2.34|0.541
18 | 171|N|-0.9760| 0.2180|-0.5119| 1.1695|-0.2612| -2.66| 2.00|0.541
19 | 273|F|-0.9831| 0.1833| 0.2583| 1.0559|-0.1969| -2.25| 2.39|0.625
20 | 273|N|-0.9822| 0.1877| 0.2552| 1.0550|-0.2016| -1.69| 2.52|0.625
21 | 274|F|-0.9775| 0.2110| 0.2443| 1.0488|-0.2264| -1.02| 1.61|0.598
22 | 274|N|-0.9777| 0.2101| 0.2449| 1.0491|-0.2255| 0.10| 1.86|0.598
23 | 302|F|-0.3878| 0.9217|-0.2756| 0.4028|-0.9575| 4.56| 1.98|0.595
24 | 302|N|-0.3878| 0.9218|-0.2764| 0.4030|-0.9577| 4.05| 2.11|0.595
25 | 303|N|-0.3561| 0.9344|-0.2945| 0.3695|-0.9697| -0.17| 4.02|
26 | 401|F|-0.5822| 0.8130| 0.5825| 0.5349|-0.7469| -1.34| 2.37|0.650
27 | 401|N|-0.5832| 0.8124| 0.5839| 0.5357|-0.7463| -1.85| 2.61|0.650
28 | 462|F| 0.9195| 0.3930|-0.6838|-0.7764|-0.3318| -1.52| 2.40|0.628
29 | 462|N| 0.9198| 0.3924|-0.6848|-0.7767|-0.3313| -0.80| 2.44|0.628
30 | 520|F| 0.0244| 0.9997| 0.6687|-0.0189|-0.7738| 1.03| 1.97|0.616
31 | 520|N| 0.0241| 0.9997| 0.6690|-0.0187|-0.7738| 1.01| 2.54|0.616
32 | 605|F| 0.9513|-0.3081|-0.4671|-0.6380| 0.2067| 1.74| 2.20|0.642
33 | 605|N| 0.9512|-0.3085|-0.4669|-0.6379| 0.2069| 2.88| 2.42|0.642
34 | 632|F| 0.8808| 0.4734| 0.3743|-0.5615|-0.3019| -2.57| 4.03|0.634
35 | 632|N| 0.8808| 0.4735| 0.3733|-0.5618|-0.3020| -1.31| 3.55|0.634
36 | 729|F| 0.2828|-0.9592|-0.3128|-0.1470| 0.4987| -0.97| 1.82|0.631
37 | 729|N| 0.2821|-0.9594|-0.3136|-0.1467| 0.4989| -0.98| 2.01|0.631
38 | 750|F| 0.8169|-0.5767| 0.3633|-0.4037| 0.2850| -2.14| 2.60|0.686
39 | 750|N| 0.8166|-0.5772| 0.3612|-0.4038| 0.2854| -1.67| 2.80|0.686
40 | 751|F| 0.8321|-0.5545| 0.3863|-0.4107| 0.2737| 2.85| 3.65|0.750
41 | 751|N| 0.8319|-0.5552| 0.3878|-0.4103| 0.2738| -0.12| 4.12|0.750
42 | 836|F|-0.7569|-0.6535|-0.6142| 0.2949| 0.2546| 3.02| 2.39|0.682
43 | 836|N|-0.7569|-0.6536|-0.6151| 0.2951| 0.2548| 3.06| 3.06|0.682
44 | 884|F| 0.2868|-0.9578| 0.6701|-0.0950| 0.3171| 8.32| 5.75|0.549
45 | 884|N| 0.2869|-0.9581| 0.6687|-0.0951| 0.3177| 5.08| 4.51|0.549
46 | 885|N| 0.2847|-0.9587| 0.6711|-0.0940| 0.3168| 1.10| 3.68|
47 | 948|F|-1.0000| 0.0009|-0.6291| 0.2541|-0.0002| -1.66| 2.25|0.664
48 | 948|N|-1.0000| 0.0006|-0.6279| 0.2538|-0.0002| -0.81| 2.50|0.664
49 | 1031|F|-0.8222|-0.5691| 0.4021| 0.1256| 0.0869| 6.02| 2.56|0.704
50 | 1031|N|-0.8217|-0.5700| 0.4019| 0.1257| 0.0872| 5.96| 2.87|0.704
51 | 1032|F|-0.8371|-0.5470| 0.3871| 0.1271| 0.0830| 4.00| 2.14|0.664
52 | 1032|N|-0.8395|-0.5435| 0.3844| 0.1274| 0.0825| 2.94| 2.47|0.664
53 | 1066|F|-0.8277| 0.5611|-0.2778| 0.0911|-0.0618| 2.38| 3.86|0.687
54 | 1066|N|-0.8274| 0.5617|-0.2803| 0.0913|-0.0620| 2.53| 3.74|0.687
55 | 1067|F|-0.8079| 0.5892|-0.2970| 0.0881|-0.0643| -3.62| 2.13|0.654
56 | 1067|N|-0.8078| 0.5895|-0.2973| 0.0881|-0.0643| -2.16| 2.72|0.654
57 | 1175|F|-0.7503| 0.6610| 0.4370|-0.0166| 0.0147| -4.41| 2.14|0.658
58 | 1175|N|-0.7523| 0.6588| 0.4384|-0.0166| 0.0145| -3.72| 2.42|0.658
59 | 1224|F| 0.6535| 0.7568|-0.5790| 0.0535| 0.0620| -5.95| 3.01|0.706
60 | 1224|N| 0.6536| 0.7570|-0.5800| 0.0533| 0.0618| -5.35| 3.14|0.706
61 | 1225|N| 0.6710| 0.7416|-0.5931| 0.0556| 0.0614| 3.23| 4.20|
62 | 1296|F|-0.2607| 0.9654| 0.6892|-0.0440| 0.1630| -0.18| 3.06|0.698
63 | 1296|N|-0.2607| 0.9654| 0.6899|-0.0441| 0.1632| -1.78| 3.12|0.698
64 | 1372|F| 0.9984|-0.0571|-0.6170| 0.2609|-0.0149| -0.15| 2.21|0.667
65 | 1372|N| 0.9983|-0.0576|-0.6170| 0.2610|-0.0151| -4.07| 2.52|0.667
66 | 1411|F| 0.5580| 0.8298| 0.5175| 0.1724| 0.2564| -0.99| 4.03|0.766
67 | 1411|N| 0.5583| 0.8297| 0.5166| 0.1724| 0.2561| -1.08| 4.57|0.766
68 | 1506|N| 0.6991|-0.7150|-0.2709| 0.2968|-0.3035| 21.30| 14.22|
69 | 1507|F| 0.7155|-0.6985|-0.2489| 0.3043|-0.2971| -1.07| 2.61|0.660
70 | 1507|N| 0.7147|-0.6995|-0.2493| 0.3040|-0.2976| -0.48| 2.62|0.660
71 | 1522|F| 0.9595|-0.2814| 0.2408| 0.4260|-0.1249| -4.48| 4.97|0.726
72 | 1522|N| 0.9590|-0.2836| 0.2373| 0.4254|-0.1258| -8.03| 5.13|0.726
73 | 1523|F| 0.9674|-0.2534| 0.2676| 0.4303|-0.1127| -5.95| 2.53|0.706
74 | 1523|N| 0.9671|-0.2544| 0.2670| 0.4302|-0.1132| -4.25| 2.93|0.706
75 | 1616|F|-0.4456|-0.8952|-0.5080|-0.2486|-0.4995| 3.04| 2.88|0.710
76 | 1616|N|-0.4453|-0.8954|-0.5085|-0.2484|-0.4994| 1.53| 3.61|0.710
77 | 1653|F| 0.5423|-0.8401| 0.5992| 0.3270|-0.5066| 2.91| 2.62|0.704
78 | 1653|N| 0.5411|-0.8410| 0.5970| 0.3262|-0.5070| 6.47| 2.99|0.704
79 | 1725|F|-0.9671|-0.2537|-0.6715|-0.6680|-0.1752| 5.34| 3.35|0.706
80 | 1725|N|-0.9675|-0.2536|-0.6735|-0.6678|-0.1751| 4.83| 3.56|0.706
81 | 1792|F|-0.3056|-0.9521| 0.5837|-0.2359|-0.7350| -0.92| 3.71|0.726
82 | 1792|N|-0.3043|-0.9526| 0.5840|-0.2348|-0.7351| -1.60| 4.09|0.726
83 | 1793|F|-0.3263|-0.9452| 0.5695|-0.2520|-0.7301| -4.99| 3.97|0.743
84 | 1793|N|-0.3257|-0.9456| 0.5716|-0.2517|-0.7308| -7.24| 4.46|0.743
85 | 1840|F|-0.9483| 0.3172|-0.4331|-0.7874| 0.2634| 4.43| 4.50|0.725
86 | 1840|N|-0.9484| 0.3172|-0.4356|-0.7871| 0.2632| 7.80| 4.82|0.725
87 | 1947|F|-0.9143| 0.4050| 0.2920|-0.8777| 0.3888| -0.42| 2.26|0.639
88 | 1947|N|-0.9140| 0.4057| 0.2906|-0.8773| 0.3894| 0.05| 2.52|0.639
89 | 1948|F|-0.9006| 0.4347| 0.2733|-0.8653| 0.4176| -1.89| 3.70|0.592
90 | 1948|N|-0.9008| 0.4343| 0.2748|-0.8656| 0.4174| 5.42| 3.00|0.592
91 | 1982|F| 0.0279| 0.9996|-0.3777| 0.0280| 1.0022| 1.89| 3.13|0.689
92 | 1982|N| 0.0276| 0.9997|-0.3786| 0.0277| 1.0021| -2.88| 3.35|0.689
93 | 1983|F| 0.0618| 0.9981|-0.3979| 0.0620| 1.0017| -1.34| 3.02|0.686
94 | 1983|N| 0.0614| 0.9981|-0.3973| 0.0617| 1.0018| 0.09| 3.24|0.686
95 | 2138|N| 0.9738| 0.2276|-0.6865| 1.1605| 0.2712| -0.20| 2.52|
96 | 2189|F| 0.1942| 0.9809| 0.6289| 0.2436| 1.2299| -1.92| 5.91|0.755
97 | 2189|N| 0.1928| 0.9813| 0.6300| 0.2417| 1.2303| 2.01| 7.47|0.755
98 | 2190|F| 0.1880| 0.9820| 0.6351| 0.2359| 1.2319| 17.33| 13.05|0.200
99 | 2190|N| 0.1880| 0.9823| 0.6366| 0.2359| 1.2326| 7.47| 5.34|0.200
100 | 2562|F| 0.0994|-0.9950| 0.6681| 0.1696|-1.6983| -4.52| 6.63|0.565
101 | 2562|N| 0.0992|-0.9951| 0.6673| 0.1693|-1.6981| -12.81| 5.91|0.565
102 | 2677|F|-0.8252|-0.5649| 0.3929|-1.5236|-1.0430| -12.52| 2.97|0.420
103 | 2677|N|-0.8283|-0.5603| 0.3888|-1.5294|-1.0346| -16.24| 5.82|0.420
104 | 2713|F|-0.8223| 0.5690|-0.2899|-1.5540| 1.0753| -4.45| 2.30|0.586
105 | 2713|N|-0.8214| 0.5703|-0.2909|-1.5523| 1.0778| -3.47| 2.89|0.586
106 | 2714|F|-0.8023| 0.5969|-0.3081|-1.5169| 1.1287| 1.08| 2.18|0.578
107 | 2714|N|-0.8021| 0.5973|-0.3074|-1.5167| 1.1295| -0.14| 2.51|0.578
108 |
--------------------------------------------------------------------------------
/htof/test/data_for_tests/Hip21/IntermediateData/H043023.d:
--------------------------------------------------------------------------------
1 | # This file contains residual records, extracted from the Hipparcos 2
2 | # Interactive Data Access Tool (2014). For more information, see:
3 | # https://www.cosmos.esa.int/web/hipparcos/interactive-data-access
4 | # https://www.cosmos.esa.int/web/hipparcos/catalogues
5 | #
6 | # HIP MCE NRES NC isol_n SCE F2 F1
7 | # 43023 42892 126 1 5 0 0.62 0
8 | # Hp B-V VarAnn NOB NR
9 | # 3.9006 0.015 0 125 1
10 | # RAdeg DEdeg Plx pm_RA pm_DE e_RA e_DE e_Plx e_pmRA e_pmDE dpmRA dpmDE e_dpmRA e_dpmDE ddpmRA ddpmDE e_ddpmRA e_ddpmDE upsRA upsDE e_upsRA e_upsDE var
11 | # 131.50689453 -46.04153924 1.76 -12.82 4.23 0.11 0.12 0.14 0.14 0.12 --- --- --- --- --- --- --- --- --- --- --- --- ---
12 | #
13 | # IORB EPOCH PARF CPSI SPSI RES SRES
14 | 59 -1.3345 -0.6722 -0.9718 -0.2360 0.28 0.75
15 | 122 -1.2579 0.6262 -0.3009 -0.9537 -0.34 0.77
16 | 122 -1.2579 0.6263 -0.3010 -0.9536 -0.20 0.83
17 | 122 -1.2579 0.6241 -0.3040 -0.9527 0.45 0.79
18 | 122 -1.2579 0.6237 -0.3042 -0.9526 -0.37 0.85
19 | 265 -1.0840 0.4695 -0.9976 0.0697 -0.17 0.81
20 | 265 -1.0840 0.4671 -0.9974 0.0727 -0.57 0.68
21 | 265 -1.0840 0.4630 -0.9969 0.0787 0.45 0.71
22 | 265 -1.0840 0.4640 -0.9970 0.0774 0.15 0.73
23 | 265 -1.0840 0.4592 -0.9965 0.0839 0.31 0.80
24 | 266 -1.0828 0.4615 -0.9960 0.0896 0.42 0.79
25 | 266 -1.0828 0.4603 -0.9958 0.0914 0.89 0.73
26 | 314 -1.0244 -0.5093 0.1092 0.9940 -1.31 0.79
27 | 314 -1.0244 -0.5133 0.1149 0.9934 0.50 0.77
28 | 314 -1.0244 -0.5135 0.1148 0.9934 -0.07 0.85
29 | 314 -1.0244 -0.5175 0.1204 0.9927 -0.25 0.81
30 | 314 -1.0244 -0.5172 0.1202 0.9928 0.03 0.83
31 | 394 -0.9272 0.6440 -0.5732 0.8194 -0.04 0.83
32 | 394 -0.9272 0.6430 -0.5720 0.8202 1.39 0.76
33 | 394 -0.9272 0.6412 -0.5700 0.8217 -0.49 0.90
34 | 394 -0.9272 0.6407 -0.5694 0.8220 0.86 1.12
35 | 599 -0.6780 -0.5473 0.8392 -0.5439 -0.43 0.76
36 | 633 -0.6366 0.4920 0.9319 0.3627 -0.44 0.73
37 | 633 -0.6366 0.4934 0.9313 0.3643 0.39 0.71
38 | 633 -0.6366 0.4942 0.9309 0.3652 0.73 0.77
39 | 633 -0.6366 0.4957 0.9300 0.3675 0.25 0.79
40 | 722 -0.5285 -0.5065 -0.0091 -1.0000 -0.13 0.79
41 | 836 -0.3899 -0.6566 -0.8442 -0.5360 0.31 0.73
42 | 836 -0.3899 -0.6560 -0.8437 -0.5368 -0.55 0.74
43 | 836 -0.3899 -0.6566 -0.8442 -0.5361 -0.30 0.78
44 | 836 -0.3899 -0.6574 -0.8447 -0.5352 0.14 0.71
45 | 889 -0.3255 0.6691 0.1149 -0.9934 -1.07 0.81
46 | 890 -0.3243 0.6719 0.1121 -0.9937 -0.60 0.79
47 | 890 -0.3243 0.6729 0.1135 -0.9935 -1.19 0.85
48 | 951 -0.2502 -0.6179 -0.9786 0.2057 0.80 0.75
49 | 951 -0.2502 -0.6166 -0.9790 0.2040 1.61 0.78
50 | 1031 -0.1530 0.4976 -0.8928 -0.4505 -0.83 0.76
51 | 1031 -0.1530 0.4944 -0.8948 -0.4464 -0.58 0.75
52 | 1031 -0.1530 0.4935 -0.8952 -0.4456 -0.56 0.76
53 | 1031 -0.1530 0.4906 -0.8972 -0.4416 -0.53 0.74
54 | 1031 -0.1530 0.4894 -0.8979 -0.4402 -0.45 0.76
55 | 1031 -0.1530 0.4851 -0.9004 -0.4351 -1.28 0.95
56 | 1078 -0.0959 -0.4566 -0.4369 0.8995 -0.63 0.82
57 | 1078 -0.0959 -0.4565 -0.4369 0.8995 -0.76 0.79
58 | 1078 -0.0959 -0.4612 -0.4312 0.9023 0.49 0.77
59 | 1078 -0.0959 -0.4605 -0.4324 0.9017 -0.47 0.78
60 | 1078 -0.0959 -0.4655 -0.4260 0.9047 0.15 0.79
61 | 1078 -0.0959 -0.4660 -0.4252 0.9051 -0.49 0.83
62 | 1167 0.0123 0.5647 -0.7927 0.6096 -1.19 1.00
63 | 1167 0.0123 0.5652 -0.7932 0.6089 0.22 0.78
64 | 1167 0.0123 0.5617 -0.7904 0.6126 -0.36 0.88
65 | 1167 0.0123 0.5609 -0.7897 0.6135 -0.39 0.78
66 | 1167 0.0123 0.5582 -0.7873 0.6165 0.56 0.85
67 | 1167 0.0123 0.5573 -0.7867 0.6174 -0.13 0.79
68 | 1226 0.0839 -0.6507 0.7806 0.6250 -1.28 0.75
69 | 1226 0.0839 -0.6532 0.7827 0.6224 0.21 0.88
70 | 1226 0.0839 -0.6557 0.7848 0.6198 -0.45 0.75
71 | 1291 0.1629 0.6926 -0.1531 0.9882 -1.17 0.76
72 | 1291 0.1629 0.6920 -0.1524 0.9883 -2.50 0.80
73 | 1368 0.2564 -0.6295 0.9702 -0.2424 -0.15 0.94
74 | 1368 0.2564 -0.6282 0.9706 -0.2408 0.67 0.75
75 | 1368 0.2564 -0.6282 0.9706 -0.2406 0.03 0.90
76 | 1368 0.2564 -0.6268 0.9710 -0.2390 0.42 0.73
77 | 1368 0.2564 -0.6269 0.9711 -0.2388 0.23 0.81
78 | 1368 0.2564 -0.6261 0.9713 -0.2378 2.06 1.10
79 | 1409 0.3063 0.5623 0.6912 0.7227 -0.24 0.73
80 | 1409 0.3063 0.5615 0.6919 0.7220 -0.92 0.77
81 | 1409 0.3063 0.5641 0.6893 0.7245 0.99 0.80
82 | 1498 0.4144 -0.4749 0.4117 -0.9113 0.42 1.18
83 | 1498 0.4144 -0.4735 0.4136 -0.9105 -1.58 0.75
84 | 1529 0.4521 0.4885 0.9680 -0.2508 -0.92 0.84
85 | 1529 0.4521 0.4890 0.9682 -0.2502 -0.82 0.80
86 | 1529 0.4521 0.4906 0.9688 -0.2477 0.13 0.98
87 | 1529 0.4521 0.4903 0.9687 -0.2483 -4.08 -0.80
88 | 1614 0.5554 -0.6003 -0.5927 -0.8054 -0.16 0.83
89 | 1614 0.5554 -0.5998 -0.5923 -0.8057 -0.37 0.76
90 | 1659 0.6100 0.6594 0.4521 -0.8920 -0.10 0.88
91 | 1659 0.6100 0.6604 0.4532 -0.8914 -2.04 1.03
92 | 1659 0.6100 0.6606 0.4536 -0.8912 -1.14 0.85
93 | 1727 0.6926 -0.6682 -0.9959 -0.0902 0.07 0.76
94 | 1727 0.6926 -0.6685 -0.9960 -0.0896 0.39 0.77
95 | 1728 0.6939 -0.6651 -0.9962 -0.0871 -0.51 0.78
96 | 1728 0.6939 -0.6667 -0.9964 -0.0849 0.84 0.80
97 | 1796 0.7765 0.5828 -0.5243 -0.8515 -0.60 0.76
98 | 1796 0.7765 0.5829 -0.5242 -0.8516 -1.28 0.81
99 | 1796 0.7765 0.5800 -0.5276 -0.8495 -0.42 0.74
100 | 1796 0.7765 0.5790 -0.5288 -0.8488 -1.73 0.96
101 | 1848 0.8396 -0.4973 -0.7736 0.6337 -0.51 0.77
102 | 1848 0.8396 -0.4977 -0.7732 0.6342 -0.45 0.90
103 | 1848 0.8396 -0.5018 -0.7696 0.6385 0.27 0.77
104 | 1848 0.8396 -0.5020 -0.7692 0.6390 -1.16 0.86
105 | 1848 0.8396 -0.5051 -0.7666 0.6422 2.64 0.81
106 | 1848 0.8396 -0.5055 -0.7663 0.6425 -0.69 0.95
107 | 1848 0.8396 -0.5091 -0.7631 0.6463 -0.56 0.89
108 | 1848 0.8396 -0.5095 -0.7627 0.6467 0.87 0.85
109 | 1938 0.9489 0.4844 -0.9576 0.2880 -0.69 0.81
110 | 1938 0.9489 0.4846 -0.9576 0.2882 0.46 0.85
111 | 1938 0.9489 0.4801 -0.9559 0.2938 0.20 0.76
112 | 1938 0.9489 0.4796 -0.9556 0.2948 -0.85 0.73
113 | 1939 0.9500 0.4810 -0.9536 0.3009 0.71 0.82
114 | 1939 0.9500 0.4786 -0.9527 0.3038 -1.94 0.77
115 | 1939 0.9500 0.4788 -0.9527 0.3038 -1.30 0.85
116 | 1990 1.0119 -0.5575 0.3808 0.9247 0.02 0.79
117 | 1990 1.0119 -0.5586 0.3822 0.9241 -1.15 0.83
118 | 1990 1.0119 -0.5627 0.3875 0.9219 -0.52 0.74
119 | 1990 1.0119 -0.5627 0.3873 0.9219 -0.03 0.80
120 | 1990 1.0119 -0.5660 0.3914 0.9202 -0.85 0.85
121 | 1990 1.0119 -0.5662 0.3919 0.9200 2.15 0.82
122 | 2065 1.1031 0.6684 -0.4439 0.8961 0.98 0.81
123 | 2065 1.1031 0.6679 -0.4432 0.8964 -0.38 0.78
124 | 2065 1.1031 0.6667 -0.4417 0.8972 -0.29 0.75
125 | 2065 1.1031 0.6661 -0.4410 0.8975 -0.29 0.81
126 | 2186 1.2498 0.6382 0.3532 0.9356 1.63 0.85
127 | 2186 1.2498 0.6369 0.3547 0.9350 -0.60 0.87
128 | 2567 1.7126 0.6571 -0.1070 -0.9943 1.05 0.75
129 | 2567 1.7126 0.6562 -0.1083 -0.9941 0.67 0.84
130 | 2567 1.7126 0.6541 -0.1111 -0.9938 -0.79 0.81
131 | 2567 1.7126 0.6540 -0.1113 -0.9938 0.04 0.91
132 | 2567 1.7126 0.6517 -0.1145 -0.9934 -0.35 0.88
133 | 2567 1.7126 0.6521 -0.1139 -0.9935 -0.63 0.81
134 | 2677 1.8464 0.4869 -0.8966 -0.4428 0.41 0.89
135 | 2677 1.8464 0.4844 -0.8981 -0.4398 0.69 0.88
136 | 2725 1.9044 -0.4650 -0.4293 0.9032 0.62 0.92
137 | 2725 1.9044 -0.4652 -0.4290 0.9033 -0.52 0.92
138 | 2725 1.9044 -0.4695 -0.4237 0.9058 -0.05 0.91
139 | 2725 1.9044 -0.4695 -0.4237 0.9058 -0.05 0.91
140 |
--------------------------------------------------------------------------------