Scripts / Acquisition Card
Acquisition Card
Builds AstroBin’s acquisition CSV and a session summary (plain text or BBCode) from the headers of your subs and calibration masters, with per-night sessions, calibration counts and measured FWHM. Its Card button makes a picture of the capture to post next to your image.
Overview
Filling in AstroBin's acquisition details by hand means counting subs per night and filter, looking up temperatures and gains, and working out how many darks and flats went into each session. Acquisition Card reads it all from the headers of your files, without loading a single pixel, and writes the CSV that AstroBin imports.
Point it at a folder of subs, or add a master light and it finds the frames that were actually integrated, even if they were deleted. It counts calibration frames from your masters, splits sessions by local night, can measure FWHM on a sample of subs, and writes a summary of the whole integration for your image description.
Its Card button turns the same facts into a picture to post next to your image: your title and a few words, your picture in a square, the nights on a ruler, one bar per filter with one cell per sub, the total, and the equipment you choose, on a plain background or a chart of the real constellations around your target. The capture log on the Wizard Nebula's gallery page is laid out the same way.

Features
Sources
- Folders of subs, searched recursively; WBPP working copies are skipped
- Master lights: the integrated frames come from the master's own history
- The same frame saved as .fit and .xisf is counted once
Calibration
- Dark, flat, flat-dark and bias counts from WBPP masters, ASIAIR names or NCOMBINE
- Matched to each session by exposure, filter and nearest date
- Correct any type or count by hand
Sessions
- One row per local night, filter, exposure, binning and gain
- Sensor temperature, Bortle and SQM
- Mean FWHM measured with SubframeSelector on 3, 5, 10 or all subs
Output
- AstroBin's acquisition CSV, ready to import
- Integration summary as plain text or BBCode
- Copy to the clipboard or save to a file; AstroBin filter IDs remembered
Card
- A picture of the capture: dates, title, your text and your picture, nights, one bar per filter, the total
- FWHM, nights, equipment and calibration on or off; equipment lines you can edit (add a mount, filters)
- Plain backgrounds or a sky chart of the constellations around the target, from RA/DEC in the headers
- Saved as a 2000-pixel PNG or JPEG, or opened as an image in PixInsight
Install
Add the FederAstro repository to PixInsight once. PixInsight then installs Acquisition Card and offers every future update automatically. Everything in it is signed by a Certified PixInsight Developer.
- In PixInsight, open Resources ▸ Updates ▸ Manage Repositories.
- Click Add and paste
https://federastro.com/pixinsight/ - Click OK, then open Resources ▸ Updates ▸ Check for Updates.
- Apply the update and restart PixInsight when it asks.
- Run it from Script ▸ FederAstro ▸ Acquisition Card.
Requirements
- PixInsight
- 1.9.5 or later
- Platforms
- Windows, macOS and Linux
- Inputs
- Folders or files of light frames (FITS or XISF), calibration masters, or a master light
- License
- Free (freeware)
Changelog
Version 0.2.0
- Card: a picture of the capture to post next to your image, in a window of its own (the Card button)
- Title, your own text, your picture, and FWHM, nights, equipment and calibration on or off
- Background: plain colours or a sky chart of the real constellations around the target
- Equipment lines start from the headers and can be edited; they are kept for your next cards
- The target's position (RA/DEC or OBJCTRA/OBJCTDEC) is read from the headers
Version 0.1.3
- License: a freeware notice in the script and on its documentation page (free for any use)
Version 0.1.2
- A rainbow FederAstro banner in the Process Console when it starts
Version 0.1.1
- Fast bias and flat runs and two cameras shooting at once are no longer counted as one frame
- Frames with dates are never merged just because their file names match
Version 0.1
- First release in the FederAstro repository
- AstroBin acquisition CSV, plain-text and BBCode summaries from FITS and XISF headers
- Master lights, calibration counting and matching, local-night sessions and FWHM measurement
Credits and license
Acquisition Card is written by afeder (FederAstro). It only produces text in the format AstroBin's CSV import accepts and is not affiliated with AstroBin. Freeware: free for any use, including commercial imaging work; unchanged copies may be shared free of charge, but it may not be sold and changed copies may not be distributed. Provided as is, without warranty.