Пример #1
0
    def test_most_relations(self):
        '''
        See documentation for test_most_relations in property_check.
        '''
        # this is the expected highest relation sources
        expected = pd.DataFrame(
            [
                [321.900237, -04.201482, 4],
                [321.898668, -04.202589, 3],
                [321.900885, -04.200907, 3],
                [020.649051, -73.638252, 2],
                [321.899747, -04.201875, 2],
                [321.901242, -04.200643, 2],
                [322.517744, -04.050434, 2],
                [322.578566, -04.318185, 2],
                [322.578833, -04.317944, 2],
                [322.578973, -04.317444, 2],
                [322.822594, -05.092404, 2],
                [322.823466, -05.091993, 2],
                [322.824837, -05.090852, 2],
            ],
            columns=['wavg_ra', 'wavg_dec', 'relations'],
        )

        property_check.test_most_relations(self.relations, self.sources, 13,
                                           expected)
    def test_most_relations(self):
        '''
        See documentation for test_most_relations in property_check.
        '''
        # this is the expected highest relation sources
        expected = pd.DataFrame(
            [[322.752092, -3.981232, 3], [322.752646, -3.982859, 3],
             [322.752777, -3.983257, 3], [322.752791, -3.982937, 3]],
            columns=['wavg_ra', 'wavg_dec', 'relations'])

        property_check.test_most_relations(self.relations, self.sources, 4,
                                           expected)
Пример #3
0
    def test_most_relations(self):
        '''
        See documentation for test_most_relations in property_check.
        '''
        # this is the expected highest relation sources
        expected = pd.DataFrame(
            [[321.899517, -04.201971, 3], [020.649051, -73.638252, 2]],
            columns=["wavg_ra", "wavg_dec", "relations"],
        )

        property_check.test_most_relations(self.relations, self.sources, 2,
                                           expected)
Пример #4
0
    def test_most_relations(self):
        '''
        See documentation for test_most_relations in property_check.
        '''
        # this is the expected highest relation sources
        expected = pd.DataFrame(
            [[322.752467, -3.982379, 4], [322.752646, -3.982859, 4],
             [322.752791, -3.982937, 4], [322.752859, -3.983386, 4],
             [322.753513, -3.985183, 4]],
            columns=['wavg_ra', 'wavg_dec', 'relations'])

        property_check.test_most_relations(self.relations, self.sources, 5,
                                           expected)
Пример #5
0
    def test_most_relations(self):
        '''
        See documentation for test_most_relations in property_check.
        '''
        # this is the expected highest relation sources
        expected = pd.DataFrame(
            [[21.033441, -73.151101, 1], [21.035019, -73.151512, 1],
             [23.061180, -73.651803, 1], [23.063015, -73.650433, 1],
             [23.425469, -73.296979, 1], [23.429945, -73.297484, 1],
             [322.517743, -4.050352, 1], [322.517923, -4.050832, 1],
             [322.822412, -5.092524, 1], [322.824837, -5.090852, 1],
             [322.875277, -4.231576, 1], [322.875429, -4.231719, 1],
             [322.927896, -5.030347, 1], [322.930182, -5.031106, 1]],
            columns=['wavg_ra', 'wavg_dec', 'relations'])

        property_check.test_most_relations(self.relations, self.sources, 14,
                                           expected)
Пример #6
0
    def test_most_relations(self):
        '''
        See documentation for test_most_relations in property_check.
        '''
        # this is the expected highest relation sources
        expected = pd.DataFrame(
            [[21.033441, -73.151101, 1], [21.035019, -73.151512, 1],
             [23.061180, -73.651803, 1], [23.063015, -73.650433, 1],
             [23.425469, -73.296979, 1], [23.429945, -73.297484, 1],
             [322.249559, -4.402759, 1], [322.249615, -4.402745, 1],
             [322.752246, -3.982728, 1], [322.752994, -3.982975, 1],
             [322.822412, -5.092524, 1], [322.825119, -5.090515, 1],
             [322.875352, -4.231587, 1], [322.875452, -4.231785, 1],
             [322.927896, -5.030347, 1], [322.930617, -5.031158, 1]],
            columns=['wavg_ra', 'wavg_dec', 'relations'])

        property_check.test_most_relations(self.relations, self.sources, 16,
                                           expected)
Пример #7
0
    def test_most_relations(self):
        '''
        See documentation for test_most_relations in property_check.
        '''
        # this is the expected highest relation sources
        expected = pd.DataFrame(
            [
                [321.900346, -4.201317, 6],
                [321.900811, -4.200894, 6],
                [321.900591, -4.201090, 5],
                [321.901015, -4.200723, 5],
                [321.898773, -4.202560, 4],
                [321.899519, -4.201984, 4],
                [321.901242, -4.200643, 4],
                [323.073095, -4.517545, 3],
                [323.073907, -4.517367, 3],
                [322.517744, -4.050434, 2],
            ],
            columns=['wavg_ra', 'wavg_dec', 'relations'],
        )

        property_check.test_most_relations(self.relations, self.sources, 10,
                                           expected)