The SKIRT project
advanced radiative transfer for astrophysics
Functions
pts.storedtable.convert_band Namespace Reference

Functions for converting broadband transmission curves to stored table format. More...

Functions

def _writeNormalized (outFilePath, wavelengths, transmissions)
 
def convertResponseCurveEuclidRubin (inFilePaths, outFilePaths)
 This function converts response curves given in Euclid/Rubin text column format to stored table files. More...
 
def convertResponseCurveSVO (inFilePaths, outFilePaths)
 This function converts a set of filter response curves given in SVO XML format to stored table files. More...
 
def convertTransmissionCurveALMA (inFilePaths, outFilePaths)
 This function converts transmission curves given in ALMA text column format to stored table files. More...
 
def convertTransmissionCurveJCMT (inFilePaths, outFilePaths)
 This function converts filter transmission curves given in JCMT text column format to stored table files. More...
 
def convertTransmissionCurvePlanckHFI (inFilePaths, outFilePaths)
 This function converts filter transmission curves given in Planck HFI text column format to stored table files. More...
 
def convertTransmissionCurvePlanckLFI (inFilePaths, outFilePaths)
 This function converts filter transmission curves given in Planck LFI text column format to stored table files. More...
 
def convertTransmissionCurveSVO (inFilePaths, outFilePaths)
 This function converts filter transmission curves given in SVO XML format to stored table files. More...
 

Detailed Description

Functions for converting broadband transmission curves to stored table format.

The functions in this module convert broadband response or transmission curves from their original formats to normalized transmission curves in SKIRT stored table format.

Function Documentation

◆ convertResponseCurveEuclidRubin()

def pts.storedtable.convert_band.convertResponseCurveEuclidRubin (   inFilePaths,
  outFilePaths 
)

This function converts response curves given in Euclid/Rubin text column format to stored table files.

The function expects one or more input file paths and the same number of corresponding output file paths.

◆ convertResponseCurveSVO()

def pts.storedtable.convert_band.convertResponseCurveSVO (   inFilePaths,
  outFilePaths 
)

This function converts a set of filter response curves given in SVO XML format to stored table files.

The function expects a single input file path template with wildcards expanding to the set of input file names, and a single output file path template in which the asterisk will be replaced by the appropriate band name. This band name is derived from the input file name without the filename extension by removing suffixes "mu" or "band", replacing dots by underscores, and converting to uppercase.

◆ convertTransmissionCurveALMA()

def pts.storedtable.convert_band.convertTransmissionCurveALMA (   inFilePaths,
  outFilePaths 
)

This function converts transmission curves given in ALMA text column format to stored table files.

The function expects one or more input file paths and the same number of corresponding output file paths. The appropriate wavelength range for each ALMA band is derived from the band number in the output file name.

◆ convertTransmissionCurveJCMT()

def pts.storedtable.convert_band.convertTransmissionCurveJCMT (   inFilePaths,
  outFilePaths 
)

This function converts filter transmission curves given in JCMT text column format to stored table files.

The function expects one or more input file paths and the same number of corresponding output file paths.

◆ convertTransmissionCurvePlanckHFI()

def pts.storedtable.convert_band.convertTransmissionCurvePlanckHFI (   inFilePaths,
  outFilePaths 
)

This function converts filter transmission curves given in Planck HFI text column format to stored table files.

The function expects one or more input file paths and the same number of corresponding output file paths.

◆ convertTransmissionCurvePlanckLFI()

def pts.storedtable.convert_band.convertTransmissionCurvePlanckLFI (   inFilePaths,
  outFilePaths 
)

This function converts filter transmission curves given in Planck LFI text column format to stored table files.

The function expects one or more input file paths and the same number of corresponding output file paths.

◆ convertTransmissionCurveSVO()

def pts.storedtable.convert_band.convertTransmissionCurveSVO (   inFilePaths,
  outFilePaths 
)

This function converts filter transmission curves given in SVO XML format to stored table files.

The function expects one or more input file paths and the same number of corresponding output file paths.