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

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

Functions

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

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()

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()

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()

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()

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()

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()

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()

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.