# noctua.templates package

## Submodules

## noctua.templates.acquisition module

class noctua.templates.acquisition.Template

  Bases: `BaseTemplate`

  Acquisition template

  content(params)

    Template implementation

## noctua.templates.basetemplate module

class noctua.templates.basetemplate.BaseTemplate

  Bases: `object`

  Base template. Other templates inherit from this, by filling up the “content” method.

  abort()

    Abort this template.

  check_pause_or_abort()

    Pause/Resume/Stop the execution of the template.

  content(params)

    Here the inherited template will be developed

  run(params, extra={})

    Check the params and run the content method.

## noctua.templates.bias module

class noctua.templates.bias.Template

  Bases: `BaseTemplate`

  content(params)

    Here the inherited template will be developed

## noctua.templates.box module

class noctua.templates.box.Template

  Bases: `BaseTemplate`

  content(params)

    Here the inherited template will be developed

## noctua.templates.fillheader module

class noctua.templates.fillheader.Template

  Bases: `BaseTemplate`

  content(params)

    Here the inherited template will be developed

## noctua.templates.flat module

class noctua.templates.flat.Template

  Bases: `BaseTemplate`

  Dome flat template

  content(params)

    Template implementation

## noctua.templates.focus module

## noctua.templates.focus2 module

class noctua.templates.focus2.Template

  Bases: `BaseTemplate`

  content(params)

    Here the inherited template will be developed

noctua.templates.focus2.simple_ascii_plot(x_values, y_values, x_label='X', y_label='Y', title='Plot', width=50, height=15)

  Generates a simple ASCII plot for the terminal. Scales y_values to fit within the height.

## noctua.templates.lampsoff module

class noctua.templates.lampsoff.Template

  Bases: `BaseTemplate`

  Switches off all the lamps.

  content(params={})

    Here the inherited template will be developed

## noctua.templates.observation module

class noctua.templates.observation.Template

  Bases: `BaseTemplate`

  content(params)

    Here the inherited template will be developed

## noctua.templates.skyflat module

class noctua.templates.skyflat.Template

  Bases: `BaseTemplate`

  Sky flat template

  content(params)

    Template implementation

## noctua.templates.testlamp module

class noctua.templates.testlamp.Template

  Bases: `BaseTemplate`

  content(params)

    Here the inherited template will be developed

## noctua.templates.testoutput module

class noctua.templates.testoutput.Template

  Bases: `BaseTemplate`

  Writes a data file.

  content(params={})

    Here the inherited template will be developed

## noctua.templates.testpause module

class noctua.templates.testpause.Template

  Bases: `BaseTemplate`

  content(**kwargs)

    Modifies the content() function

## noctua.templates.testsonoff module

class noctua.templates.testsonoff.Template

  Bases: `BaseTemplate`

  content(params)

    Here the inherited template will be developed

## Module contents

Templates