forked from erosita/uds
final catalog ready
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
В данной директории находится каталог скоплений галактик X-CLASS из статьи https://ui.adsabs.harvard.edu/abs/2021A%26A...652A..12K/abstract
|
||||
|
||||
Каталог был получен с этого ресурса: https://vizier.cds.unistra.fr/viz-bin/VizieR-3?-source=J/A%2bA/652/A12/table3
|
||||
|
||||
Для вырезки источников для работы с полем UDS была использована эта команда:
|
||||
|
||||
```
|
||||
ftselect 'x-class.fits[1]' x-class_UDS.fits 'RAJ2000 > 32.75 && RAJ2000 < 36.31 && DEJ2000 > -6.55 && DEJ2000 < -3.0' clobber=yes
|
||||
```
|
||||
|
||||
Executable
+18
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
from astropy.io import fits
|
||||
|
||||
hdul = fits.open('x-class_UDS.fits.catalog')
|
||||
tbdata = hdul[1].data
|
||||
hdul.close()
|
||||
|
||||
with open("../../products/x-class_UDS.fits.reg", 'w') as writer:
|
||||
for rec in tbdata:
|
||||
writer.write("fk5;circle({}, {}, {}) # color=magenta text={{{} {:.2f} {:.2f}}}\n".format(rec['RAJ2000'],
|
||||
rec['DEJ2000'],
|
||||
rec['extent']/3600,
|
||||
rec['XClass'],
|
||||
rec['MLdet'],
|
||||
rec['MLext'],))
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user