ВНИМАНИЕ! На форуме начался конкурс - астрофотография месяца СЕНТЯБРЬ-ОКТЯБРЬ!
0 Пользователей и 1 Гость просматривают эту тему.
CRVAL1 = 19.99333 / RA at reference pixel in degreesRA = '19:59:36,0017' / Object Right AscensionDEC = '22:43:0,00183' / Object Declination
Можно сделать и консольный вариант, UI достаточно легко откручивается.Думаю в одной из ближайших версий сделаю вариант и без графики.
Парочка косяковКод: [Выделить]CRVAL1 = 19.99333 / RA at reference pixel in degreesRA = '19:59:36,0017' / Object Right AscensionDEC = '22:43:0,00183' / Object Declination
А можете показать выхлоп команды locale на своей системе?
На моей?
И да - значение в градусах, 19:59:36 в градусах будет как раз 19.99333, так что тут как бы вроде все верно.
много людей спрашивает
make cli
/* raw2fits-cli sample configuration file Oleg Kutkov <elenbert@gmail.com> Crimean astrophysical observatory, 2017*/raw2fits:{ /* input/output params */ io: { raw_dir = "/media_storage/sampleraw"; // Directory with RAW files to convert fits_dir = "/media_storage/fitsout"; // Where to store FITS files filenaming: { /* File naming mode, available options are: 0 - <RAW file name>.fits 1 - <object>_<datetime>.fits 2 - <object>_<filter>_<datetime>.fits 3 - <RAW file name>_<datetime>.fits */ mode = 0; /* Overwrite already existing FITS */ overwrite = false; }; }; /* Fits header params you can leave fields blank, or comment it or even remove such fields just will not be included in the target files */ fits: { object = "Antares"; // Observed object name, max: 71 symbols object_coordinates = { ra = "16:29:24.45970"; // Observed object coordinates RA dec = "-26:25:55.2094"; // Observer object coordinates DEC }; /* Telescope name */ telescope = "Newton"; /* Clear aperture of the telescope in meters */ teleaper = 0.15; /* Focal length of the telescope in meters */ telefoc = 0.75; /* instrement name, leave blank or comment to use camer model from RAW file */ instrument = ""; /* observatory name */ observatory = "CrAO"; /* Observatory site name */ sitename = "Crimea, Nauchniy"; /* Latitude of the observing site, in decimal degrees */ sitelat = 44.7297; /* East longitude of the observing site, in decimal degrees */ sitelon = 34.0125; /* Elevation of the observatory site in meters */ sitelev = 610; /* Observer name, leave blank or comment to use camer model from RAW (if present in) file */ observer = "Kutkov"; /* Filter used in observation, set "C" if no filters were used */ filter = "C"; /* Observation date, correct value in FITS standard, leave blank or comment to use value from RAW file */ #date = "2017-09-24T02:04:33"; /* Exposure of the single image in seconds, leave blank or comment to use value from RAW file */ #exposure = 28.1; /* Temperature during observation, Celsius, optional field */ temperature = -4.7; /* Additional notes, free form text */ notes = "Clear, Moon" }; /* Image & colors processing options */ colors: { /* Color channels mode, available options are: 0 - Convert RGB to average grayscale 1 - R, G and B channels to the separate FITS's 2 - R, G and B channels to the one FITS with separate headers 3 - Only R channel 4 - Only G channel 5 - Only B channel */ mode = 0; /* Apply autobright by histogram */ autobright = false; /* Apply pixels interpolation */ interpolation = true; /* Apply pixels autoscale */ autoscale = true; };};
raw2fits-cli -c file.config
raw2fits-cli -c config/sample.config -i /disk/new_raw_dir -o /disk/new_fits_dir
./raw2fits-cli -c config/sample.config -i /media/media_disk/sampleraw/test/ -o /media/media_disk/fitsoutraw2fits, version: 0.4.1Loading configuration from config/sample.configInput directory: /media/media_disk/sampleraw/test/Output directory: /media/media_disk/fitsoutFITS header data loaded from the configuration file: OBJECT: AntaresOBJECT RA: 16:29:24.459OBJECT DEC: -26:25:55.208TELESCOPE: NewtonTELESCOPE APERTURE: 0.150000 metersTELESCOPE FOCAL LENGTH: 0.750000 metersINSTRUMENT: OBSERVATORY: CrAOSITENAME: Crimea, NauchniySITE LAT: 44.729698SITE LON: 34.012501SITE ELEVATION: 610.000000 metersFILTER: CEXPOSURE: 0.0000 secondsTEMPERATURE: -4.70 COBSERVER: KutkovDATE: NOTES: Clear, MoonEnd of FITS header dataImage & colors options:Mode: 0 (Convert RGB to average grayscale)Apply autobright by histogram: NoApply pixels interpolation: YesApply pixels autoscale: YesOutput options:Mode: 0 (<RAW file name>.fits)Overwrite existing files: NoEnd of configurationStaring converter (press Ctrl-C to terminate procedure) ...Reading directory /media/media_disk/sampleraw/test/ Found Canon raw file IMG_1444.cr2 size: 28686KStarting conveter on 4 processor cores...Total files to convert: 1Files per CPU core: 1, left: 0Working /media/media_disk/sampleraw/test//IMG_1444.cr2 Reading RAW data, step 1/2 Reading RAW data, step 2/2 Converting raw image using lossless_jpeg_load_raw() Scaling colors, step 1/2 Scaling colors, step 2/2 Pre-interpolating, step 1/2 Pre-interpolating, step 2/2 Interpolating, step 1/3663 Interpolating, step 2025/3663 Converting to RGB, step 1/2 Converting to RGB, step 2/2 Image decoded, size = 5496x3670, bits = 8, colors = 3Creating FITS /media/media_disk/fitsout/IMG_1444_AVG_GRAY.fitsOverall progress: [ - 100 %Done!
Подпишусь. Интересная тема.
sitelev = 220;
* Поддержка астрометрии. По желанию пользователя, перед запуском конвертации, можно будет отправить запрос на сервис astrometry.net и получить в каждом FITS файле полные астрометрические данные. Эта возможность будет добавлена как в консольное, так и в оконное приложение.
Изменил способ ввода координат объекта, теперь пользователю будет сложнее ошибиться при вводе.
Зато задолбаешься переносить откуда-то через буфер обмена...