{'fraction_non_alphanumeric': 0.0349002849002849, 'fraction_numerical': 0.004985754985754986, 'mean_word_length': 5.357466063348416, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Data reduction and analysis pipelines: the simple approach for the xFOSC family of instruments

We describe how instrument data-processing pipelines can be quickly and easily developed using the modularity, header-manipulation, and scripting features of the IRAF suite. Our illustration case is the design of a simple IRAF-based reduction and analysis pipeline for the BFOSC instrument on the 1.52m Cassini Telescope at Loiano, run by the Osservatorio Astronomico di Bologna. On the basis of header keywords, raw frames are automatically processed in a series of steps: grouping by any observational parameter(s), CCD reduction, registration, coaddition, photometry, deconvolution, RGB-tricolour representation, and basic astrometry, with spectroscopy partially implemented as of now. In this way, FITS data can be automatically analysed from raw frames to "end product" (of final or near-final scientific quality), while still "at the telescope", thus enabling much faster feedback. Since the xFOSC family of instruments produced by the Astronomical Observatory of Copenhagen, which includes BFOSC, share identical design and operation, it should be simple to adapt the pipeline to any of the ten FOSC instruments: DFOSC on the ESO/Danish 1.54m, ALFOSC on the Nordic Optical Telescope, TFOSC on the new TT1 (Castelgrande) Telescope. We also aim to make it available for "on the fly" archival processing.