Module azcam.tools.testers.bias

Classes

class Bias

Bias (zero) image acquisition and analysis.

Args

tool_id
name used to reference the tool (controller, display, …)
description
description of this tool

Ancestors

Instance variables

var combination_type

combination method

var data_file

Inherited from: Tester.data_file

output data file

var debiased_filename

residual image after combined and colbiased

var delay

delay between exposures [sec]

var description

Inherited from: Tester.description

descriptive tool name

var enabled

Inherited from: Tester.enabled

1 when tool is enabled

var fit_order

order of overscan correction fit, 0 => row by row

var initialized

Inherited from: Tester.initialized

1 when tool has been initialized

var is_reset

Inherited from: Tester.is_reset

1 when tool has been reset

var report_file

Inherited from: Tester.report_file

output report file

var superbias_filename

combined image with no colbias

var tool_id

Inherited from: Tester.tool_id

name used to reference the tool ("controller", "display", …)

var verbosity

Inherited from: Tester.verbosity

verbosity for debug, >0 is more verbose

Methods

def acquire(self)

Acquire bias image sets for bias measurement.

def analyze(self)

Analyze an existing bias series.

Creates a superbias and a debiased image. The superbias image is the median combined iamge and the debiased image is then overscan corrected.

def initialize(self) ‑> None

Inherited from: Tester.initialize

Initialize the tool.

def make_mdfile(self, md_file, lines=[])

Inherited from: Tester.make_mdfile

Create a markdown file from lines.

def make_rstfile(self, rst_file, lines=[])

Inherited from: Tester.make_rstfile

Create an RST file from lines.

def md2pdf(self, filename, options=[], create_html=False)

Inherited from: Tester.md2pdf

Create a PDF from a markdown file. Filename extension is optional. Optionally also create an html file.

def merge_pdf(self, input_files=[], output_file='combined.pdf')

Inherited from: Tester.merge_pdf

Merge multiple PDF files into one.

def parse_files(self)

Inherited from: Tester.parse_files

Parse image set to create file information dict.

def read_datafile(self, filename='default')

Inherited from: Tester.read_datafile

Read data file and set tool as valid.

def report(self)

Write bias report file.

def reset(self) ‑> None

Inherited from: Tester.reset

Reset the tool.

def rst2pdf(self, filename, options=[])

Inherited from: Tester.rst2pdf

Create a PDF from an RST file. Filename extension is optional. Also create an html file (currently required).

def write_datafile(self)

Inherited from: Tester.write_datafile

Write data file as a json dump …

def write_report(self, report_file, lines=[])

Inherited from: Tester.write_report

Create report file.