Query

class acstools.acszpt.Query(date, detector, filt=None)

Bases: object

Class used to interface with the ACS Zeropoints Calculator API.

Parameters
  • date (str) – Input date in the following ISO format, YYYY-MM-DD.

  • detector ({'HRC', 'SBC', 'WFC'}) – One of the three channels on ACS: HRC, SBC, or WFC.

  • filt (str or None, optional) –

    One of valid filters for the chosen detector. If no filter is supplied, all of the filters for the chosen detector will be used:

    • HRC:

      F220W, F250W, F330W, F344N, F435W, F475W, F502N, F550M, F555W, F606W, F625W, F658N, F660N, F775W, F814W, F850LP, F892N

    • WFC:

      F435W, F475W, F502N, F550M, F555W, F606W, F625W, F658N, F660N, F775W, F814W, F850LP, F892N

    • SBC:

      F115LP, F122M, F125LP, F140LP, F150LP, F165LP

Attributes Summary

date

The user supplied date.

detector

The user supplied detector.

filt

The user supplied filter, if one was given.

zpt_table

The results returned by the ACS Zeropoint Calculator.

Methods Summary

fetch()

Submit the request to the ACS Zeropoints Calculator.

Attributes Documentation

date

The user supplied date. (str)

detector

The user supplied detector. (str)

filt

The user supplied filter, if one was given. (str or None)

zpt_table

The results returned by the ACS Zeropoint Calculator. (astropy.table.QTable)

Methods Documentation

fetch()

Submit the request to the ACS Zeropoints Calculator.

This method will:

  • submit the request

  • parse the response

  • format the results into a table with the correct units

Returns

tab – If the request was successful, returns a table; otherwise, None.

Return type

astropy.table.QTable or None