Acquisition stage from format

Ingence places a file at the recording step when it is in an image or electrophysiology format an instrument writes. It does not when the contents contradict the extension, or when the file’s own name says it was processed.

acquisition_stage_from_format version 4+d1

  • Kind of rule: What files are (classifies). Says what a file or a folder is, by placing it in a class.

  • What it concludes: a class

  • Reasoning: defeasible. A conclusion is usually right, and is retracted when a rule it names concludes against it.

  • What it reads: one file at a time

Is it available in this version?

Yes. The engine runs it.

What would defeat it

The engine withdraws what this rule concludes about something when any of these rules concludes about the same thing:

  • content_contradicts_extension: Ingence flags a file when its contents begin the way one format does and its extension names another. Containers that other formats are built on, such as PDF, HDF5 or ZIP, do not count.

  • later_stage_from_name: Words such as processed, filtered, stitched or merged in a name tell Ingence a file is past recording. Instrument software also saves such files in its own format.

  • installed_software_in_folder: Ingence recognizes a folder as an installed program, such as a copy of Fiji or a Python environment. It knows it by the parts it holds: a name ending in .app, program-style subfolders or mostly program files. Ingence still lists and reads its files, and rules about experiments leave them alone.

It stands aside beneath every folder one of these rules raises:

Parameters

Parameter

Shipped value

May be

What it does

senses

["image_format", "ephys_format", "read_format"]

list of text

The format senses that mean data as an instrument produced it, each admitted spelling by spelling where the sense declares origins. Spectra and their conversions are left out, because their formats also hold identification results.

written_by

["instrument"]

list of text

Who must write a spelling for it to begin a workflow, where its sense declares origins.

concludes

"acquisition"

text

The stage concluded, so the proposing rule reads it.

minimum_match_quality

"exact"

one of exact, case_folded, loose

How firmly the extension must have matched: it is a symbol.

slot

"extension"

one of extension, name

Where the match is read: the extension, never a word.