Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Templates cookbook

Table of contents

  1. Blackbody template
  2. Power-law template

Blackbody template

Method CookbookTemplates.bb
Parameters
  • temp: Temperature (K)
  • scale: Scale factor
JSON template
{
  "cookbook": "cb",
  "recipe": "bb",
  "params": {
    "temp": "6000",
    "scale": "1.0"
  }
}    

Create a blackbody template of a given temperature

Power-law template

Method CookbookTemplates.pl
Parameters
  • ampl: Amplitude
  • x_ref: Wavelength reference (nm)
  • index: Index
JSON template
{
  "cookbook": "cb",
  "recipe": "pl",
  "params": {
    "ampl": "1.0",
    "x_ref": "null",
    "index": "1.0"
  }
}    

Create a power-law template of a given amplitude, wavelength reference and index