FITS Peek
БесплатноБез исполняемых скриптовНе проверенTurn FITS image files into contact-sheet PNGs — a grid of thumbnails stamped with filename, OBJECT, DATE-OBS, filter and exposure time, with a north/east…
от raktikoo165 установок в других каталогахОб этом скилле
fitspeek
What this tool does
fitspeek renders a pile of FITS image files into contact-sheet PNGs:
grids of thumbnails, each stamped with its filename and key header info,
so a night's images can be triaged at a glance instead of opened one by
one. An index.csv maps every collected file to its sheet and tile, or
records that it was skipped and why.
Install
pip install git+https://github.com/RakTikoo/fitspeek
This provides the fitspeek command.
Run
fitspeek make /data/night1 --out sheets/ --cols 3
fitspeek make frame001.fits frame002.fits --out sheets/ --cols 2
- Inputs can be folders (all FITS files directly inside are used), individual files, or a mix. Folder inputs are not recursive.
- Each sheet holds
--cols×--colsthumbnails, written assheet_001.png,sheet_002.png, … into the--outfolder (defaultsheets/). - The first HDU holding image data is the one rendered; cubes are median-combined across all planes into a single image first. Every thumbnail uses a ZScale stretch (with a percentile fallback) and gets a north/east compass when the header carries a CD or PC matrix.
Reading the results
Exit code 0 means the command ran — it does not mean every file
was rendered. Judge the run by the printed summary: a skipped: line
per skipped file with its reason, then Rendered: N, Skipped: M
(with a reason breakdown), and how many sheets were written. Files with
no image data, zero-size images, all-NaN images and corrupt files are
skipped with a reason; one bad file never stops the batch. A nonexistent
input path is noted ("does not exist, ignoring") and also does not stop
the batch — a run can exit 0 having rendered nothing, so always check
the counts.
index.csv in the output folder is the durable record: one row per
collected FITS file with source_file, sheet, tile, status, reason,
where status is rendered or skipped. Non-FITS files inside a
folder argument are not collected and do not appear.
Exit code 2 is a usage error (for example no inputs given); nothing
was rendered.
Limits
- Folder inputs are not recursive — subfolders are not scanned.
- The stamp reads
OBJECT,DATE-OBS,FILTER,EXPTIMEonly, spelled exactly that way; instrument variants (such asFILTER1orEXPOSURE) are not normalised. - The compass needs a CD or PC matrix; a header with only
CDELT/CROTAgets no compass. - Sheets are for triage, not measurement: thumbnails are stretched for visibility, not photometrically faithful.
- Large images are rendered in memory as-is; there is no downsampling step before the stretch.
--colshas no upper bound; very large values produce very large, slow sheets.
Установить FITS Peek в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл FITS Peek?
Turn FITS image files into contact-sheet PNGs — a grid of thumbnails stamped with filename, OBJECT, DATE-OBS, filter and exposure time, with a north/east compass where the WCS carries a CD or PC matrix, plus an index.csv mapping every thumbnail back to its source file. Use when asked to preview or triage a night's FITS images, make contact sheets or thumbnails from FITS files, or eyeball a pile of frames at a glance. Not for building a night-log CSV from FITS headers (use fitslog), planning an observing night (use tonight), or converting observation times to BJD_TDB (use bjd).
Как установить скилл FITS Peek?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл FITS Peek запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic