Skip to content

Commit 8459489

Browse files
Jorge Fernandez HernandezJorge Fernandez Hernandez
authored andcommitted
GAIAPCR-1368 new retrieval type RESIDUAL_IMAGE
1 parent 5eceae1 commit 8459489

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

astroquery/gaia/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ class Conf(_config.ConfigNamespace):
4949
'EPOCH_FLAGS_NSS',
5050
'EPOCH_PARAMETERS_RVS_SINGLE',
5151
'EPOCH_PARAMETERS_RVS_DOUBLE',
52-
'EPOCH_FLAGS_VARI']
52+
'EPOCH_FLAGS_VARI',
53+
'RESIDUAL_IMAGE']
5354

5455
VALID_LINKING_PARAMETERS = {'SOURCE_ID', 'TRANSIT_ID', 'IMAGE_ID'}
5556

astroquery/gaia/core.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,9 @@ def load_data(self, ids, *, data_release=None, data_structure='INDIVIDUAL', retr
196196
'EPOCH_ASTROMETRY_BRIGHT', 'MEAN_SPECTRUM_XP_GRAVLENS', 'EPOCH_FLAGS_NSS', 'EPOCH_PARAMETERS_RVS_SINGLE',
197197
'EPOCH_PARAMETERS_RVS_DOUBLE', 'EPOCH_FLAGS_VARI']. Note that for 'CROWDED_FIELD_IMAGE', only the format
198198
'fits' can be used, and its image, in the principal header, will not be available in the returned
199-
dictionary. Set 'output_file' to retrieve all data: image + tables.
199+
dictionary. Set 'output_file' to retrieve all data: image + tables. Note that for 'RESIDUAL_IMAGE',
200+
only the format 'fits' can be used. Since the fits files only contain images, the returned table will be
201+
empty. Therefore, set 'output_file' to save the files to get access to their content.
200202
linking_parameter : str, optional, default SOURCE_ID, valid values: SOURCE_ID, TRANSIT_ID, IMAGE_ID
201203
By default, all the identifiers are considered as source_id
202204
SOURCE_ID: the identifiers are considered as source_id

0 commit comments

Comments
 (0)