<commit_before>====================
tile-TILEID-FIELDNUM
====================

:Summary: FITS file with fiber assignments for a given DESI tile.
:Naming Convention: tile-TILEID-FIELDNUM.fits where TILEID is a 6-digit
    pre-defined tile ID or 999999 for pointings without a pre-defined ID;
    and FIELDNUM is the 4-digit field number for this tile
    (typically 0, see notes below).

:Regex: ``tile-[0-9]{6}-[0-9]{4}\.fits``
:File Type: FITS, 2 MB

For standard DESI tiles, FIELDNUM=0.  Test tiles might have different
positioner configurations for the same tile and FIELDNUM encodes which
configuration it is.

Note: as of software release 18.11 (fiberassign 0.10.3) the files are
named tile_TILEID.fits instead of tile-TILEID-FIELDNUM.fits.  This will
change in the future.

Contents
========

====== ===================== ======== ===================
Number EXTNAME               Type     Contents
====== ===================== ======== ===================
HDU0_  --                    IMAGE    Blank
HDU1_  FIBERASSIGN           BINTABLE Target assignments for each fiber
HDU2_  POTENTIAL             BINTABLE All targets that could have been assigned
HDU3_  SKYETC                 BINTABLE Sky assignments for sky monitor positioners
HDU4_  TARGETS               BINTABLE Target catalog row-matched to FIBERASSIGN table
HDU5_  GFA_TARGETS           BINTABLE Targets on GFAs (OPTIONAL)
====== ===================== ======== ===================

NOTE: this file describes what the 18.11 fiberassign output files currently are,
which are somewhat different from what we eventually intend them to be.
Key upcoming differences for consistency with ICS:

  * filenames tile_TILEID.fits -> tile-TILEID-FIELDNUM.fits (TBD)
  * reordering HDUs
  * rename HDU SKYETC -> SKY_MONITOR
  * rename HDU POTENTIAL -> POTENTIAL_ASSIGNMENTS

FITS Header Units
=================

HDU0
----

EXTNAME = (None)

No data, but some useful header keywords
<commit_msg>fix malformed table<commit_after>====================
tile-TILEID-FIELDNUM
====================

:Summary: FITS file with fiber assignments for a given DESI tile.
:Naming Convention: tile-TILEID-FIELDNUM.fits where TILEID is a 6-digit
    pre-defined tile ID or 999999 for pointings without a pre-defined ID;
    and FIELDNUM is the 4-digit field number for this tile
    (typically 0, see notes below).

:Regex: ``tile-[0-9]{6}-[0-9]{4}\.fits``
:File Type: FITS, 2 MB

For standard DESI tiles, FIELDNUM=0.  Test tiles might have different
positioner configurations for the same tile and FIELDNUM encodes which
configuration it is.

Note: as of software release 18.11 (fiberassign 0.10.3) the files are
named tile_TILEID.fits instead of tile-TILEID-FIELDNUM.fits.  This will
change in the future.

Contents
========

====== ===================== ======== ===================
Number EXTNAME               Type     Contents
====== ===================== ======== ===================
HDU0_  --                    IMAGE    Blank
HDU1_  FIBERASSIGN           BINTABLE Target assignments for each fiber
HDU2_  POTENTIAL             BINTABLE All targets that could have been assigned
HDU3_  SKYETC                BINTABLE Sky assignments for sky monitor positioners
HDU4_  TARGETS               BINTABLE Target catalog row-matched to FIBERASSIGN table
HDU5_  GFA_TARGETS           BINTABLE Targets on GFAs (OPTIONAL)
====== ===================== ======== ===================

NOTE: this file describes what the 18.11 fiberassign output files currently are,
which are somewhat different from what we eventually intend them to be.
Key upcoming differences for consistency with ICS:

  * filenames tile_TILEID.fits -> tile-TILEID-FIELDNUM.fits (TBD)
  * reordering HDUs
  * rename HDU SKYETC -> SKY_MONITOR
  * rename HDU POTENTIAL -> POTENTIAL_ASSIGNMENTS

FITS Header Units
=================

HDU0
----

EXTNAME = (None)

No data, but some useful header keywords

{'fraction_non_alphanumeric': 0.16500128106584677, 'fraction_numerical': 0.018447348193697154, 'mean_word_length': 3.6476190476190475, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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}}
{'dir': 'git-commits-cleaned', 'id': '3396376', 'n_tokens_mistral': 1199, 'n_tokens_neox': 1093, 'n_words': 418}