Contents

User responsibilities and limits Users and access Querying Object specifications Tasks Automated tasks

User responsibilities and limits

The main responsibility of a SLED user is to maintain up-to-date the information of lenses, data, models, etc, that are assigned to them. This community-driven approach is the cornerstone of SLED's power to deliver accurate scientific results and information. The user is referred to as the 'owner' of these objects, which are all listed in their User profile page.

User profile

This is where are the objects owned by the user are listed and can be managed. This includes the main SLED products, i.e. lenses, Imaging Data, Spectra, Redshifts, Generic Images, and Models, but also secondary objects that help with organisation, access, and overall convenience, i.e. saved queries, collections, and groups. Notifications and tasks are also listed here, the latter being very important for the funcionality of the website. This is also where the user can keep their personal information up-to-date, which is required to enable efficient completion of tasks and communication with other users.

Roles

There are 3 special user roles:

  1. SuperAdmin: This is the user who decides who can assign the role of Admin and Inspector to other users.
  2. Admin: This is a small group of users, usually 2, who have a higher degree of responsibility. They are the ones who can approve or reject new users, making public objects private, deleting public objects, etc, see the tasks for more details.
  3. Inspector: This group of users has the responsibility to visually inspect any public images uploaded to the website and ensure that they are indeed related to science, e.g. lens mugshots, Imaging Data, Spectra, etc

The SuperAdmin can re-assign these roles at any time

Limits

Every user has a limited number of objects that they can create in the database per week and that they can own and manage in total. These numbers default to 100 and 1000 respectively, but they can be changed by the SuperAdmin upon request. These settings may be changed in the future to impose limits per object type, e.g. it makes sense to manage hundreds of lenses but not so much for groups or saved queries.


Users and access

Access level

Any object that can exist in SLED (lenses, data, models, collections, etc) can be publicly visible and accessible by any registered SLED user, or kept private with its access directly controlled by its owner. Private objects will still appear in the queries of every user with access to them, but not to other users. A private object can be readily changed to public, but the opposite requires approval from the database administrators. It is good practice to inject objects as private and then, after ensuring that there are no mistakes, change them to public.

User groups

Creating groups of users is a convenient way to delegate access to private objects more easily. For example, one user adds 5 new lens candidates that they want to share with their close collaborators. The lenses are created as private, a group with the collaboration name is created (can also be private) and the collaborators are added to it, and the owner of the 5 private lenses gives access to the group instead of each user individually. This has the extra benefit that any new user who joins the group will automatically gain access to private objects accessible by the group. All groups are visible to all users, but the members of private groups are not shown. Any user has the option to request to join the group and a 'Join Group' task will be created for the group owner to resolve.


Querying

You can perform joined queries on Lenses, data (Redshifts, Imaging Data, Spectra, and Catalogue Data), and Models. For the position of the lens, you can limit the coordinates in a rectangular (box search) or in a circle around some point (Cone search). Placing the mouse above each field label provides some information about it (units, etc). Once you have filled in a few query fields, then you can save the query and access or modify it in your User profile page. You can also save all or part of the returned lenses in a new or existing Collection. The Collection will contain the returned results at the time of creation while the query will return any new lenses that may be added in the future. It is possible to select which lenses and associated to download in .json format.

Coming soon: querying lens Models and classification Scores.

Standard queries

These are some very common queries that are centrally available, for example, to return all the lensed quasars, lensed supernovae, lenses with HST data, etc. For comments or additions to these standard queries please contact the administrators.

Collections

A Collection is a fixed list of lenses, as opposed to a (dynamic) query, that users can create. It can be private or public, its management after creation can be passed on to another SLED user, and lenses can be removed or added to it. The latter can happen either by selecting lenses from a query result, or through the detail page of a given lens. Collections can be searched by any user. Currently, there are only collections of lenses allowed, but this may be extended to models, etc, in the future.

API queries

For large queries, it is advised to use the API functionality. The following fields are allowed to be passed explicitly to an API call:

Lenses
ra_min The minimum RA [degrees].
ra_max The maximum RA [degrees].
dec_min The minimum DEC [degrees].
dec_max The maximum DEC [degrees].
ra_centre RA centre of cone search [degrees].
dec_centre DEC centre of cone search [degrees].
radius Radius for cone search [degrees].
n_img_min Minimum number of source images.
n_img_max Maximum number of source images.
image_sep_min Minimum image separation or arc radius [arcsec].
image_sep_max Maximum image separation or arc radius [arcsec].
score_min The minimum score of the candidate based on the classification guidelines (between 0 and 3).
score_max The maximum score of the candidate based on the classification guidelines (between 0 and 3).
flag Select whether the system is a confirmed lens, a candidate, or a confirmed contaminant (OR clause). Allowed choices are:
CONFIRMED, CANDIDATE, CONTAMINANT
lens_type Select the type of the lensing galaxy. Allowed choices are:
GALAXY, LTG, SPIRAL, GALAXY PAIR, GROUP, CLUSTER, CLUSTER MEMBER, QUASAR, LRG, ETG, ELG
source_type Select the type of the source. Allowed choices are:
GALAXY, ETG, SMG, QUASAR, DLA, PDLA, RADIO-LOUD, BAL QUASAR, ULIRG, BL Lac, LOBAL QUASAR, FELOBAL QUASAR, EXTREME RED OBJECT, RED QUASAR, GW, FRB, GRB, SN, LBG, ELG
image_conf Select the image configuration. Allowed choices are:
LONG-AXIS CUSP, SHORT-AXIS CUSP, NAKED CUSP, CUSP, CENTRAL IMAGE, FOLD, CROSS, DOUBLE, QUAD, RING, ARC
Redshifts
z_source_min The minimum redshift of the source.
z_source_max The maximum redshift of the source.
z_source_method Select the method used to obtain the source redshift. Allowed choices are:
PHOTO, SPECTRO, OTHER
z_lens_min The minimum redshift of the lens.
z_lens_max The maximum redshift of the lens.
z_lens_method Select the method used to obtain the lens redshift. Allowed choices are:
PHOTO, SPECTRO, OTHER
z_los_min The minimum redshift of anything along the line-of-sight.
z_los_max The maximum redshift of anything along the line-of-sight.
z_los_method Select the method used to obtain the redshift of anything along the line-of-sight. Allowed choices are:
PHOTO, SPECTRO, OTHER
Imaging Data
instrument_and Join the selected instruments as an AND or OR clause.If True (False), then an AND (OR) clause is used to join the instruments.
date_taken_min The minimum date the data were taken. Date format is: YYYY-MM-DD.
date_taken_max The maximum date the data were taken. Date format is: YYYY-MM-DD.
future True if the data will be taken in the future.
band The band with which the observation was made. See above for available choices.
instrument The instrument with which the observation was made. See above for available choices.
exposure_time_min The minimum exposure time [s].
exposure_time_max The maximum exposure time [s].
pixel_size_min The minimum pixel size [arcsec].
pixel_size_max The maximum pixel size [arcsec].
Spectra
instrument_and Join the selected instruments as an AND or OR clause.If True (False), then an AND (OR) clause is used to join the instruments.
date_taken_min The minimum date the data were taken. Date format is: YYYY-MM-DD.
date_taken_max The maximum date the data were taken. Date format is: YYYY-MM-DD.
future True if the data will be taken in the future.
instrument The instrument with which the observation was made. See above for available choices.
exposure_time_min The minimum exposure time [s].
exposure_time_max The maximum exposure time [s].
wavelength_min The minimum wavelength [nm].
wavelength_max The maximum wavelength [nm].
resolution_min The minimum spectral resolution [nm].
resolution_max The maximum spectral resolution [nm].
Catalogue Data
instrument_and Join the selected instruments as an AND or OR clause.If True (False), then an AND (OR) clause is used to join the instruments.
date_taken_min The minimum date the data were taken. Date format is: YYYY-MM-DD.
date_taken_max The maximum date the data were taken. Date format is: YYYY-MM-DD.
future True if the data will be taken in the future.
instrument The instrument with which the observation was made. See above for available choices.
band The band with which the observation was made. See above for available choices.
distance_min The minimum distance from the lens [arcsec].
distance_max The maximum distance from the lens [arcsec].
mag_min The minimum detection magnitude
mag_max The maximum detection magnitude
Models
Coming soon
Management
access_level Select public or private lenses only.
owner Select one or more users (OR clause). You must know the correct user names in advance.
collections Select one or more collections. You must know the correct collection names in advance.
collections_and Join the selected collections as an AND or OR clause.
Download options

These are the possible options for which lens fields (described below) to download as part of a query:

access_level access level
ra RA
dec DEC
name name
alt_name alt name
score Candidate score
image_sep Image separation
info info
n_img Nimages
mugshot mugshot
flag Flag
image_conf Image configuration
lens_type Lens type
source_type Source type
contaminant_type Contaminant type

These are the data fields (described below) related to each lens that can be downloaded as part of a query:

imaging Imaging Data
spectrum Spectra
catalogue Catalogue Data
redshift Redshifts
genericimage Generic Images
papers Papers

Object specifications

The information fields of all the types of objects that are stored in SLED are listed below. There are a few fields common to all the objects that are explained here:

onwer A SLED user who will be responsible for an object, e.g. updating, deleting, etc. This is set automatically when creating/injecting objects in SLED, but it can be ceded to another user.
access_level Set public (PUB) or private (PRI) access to this object.
modified_at The date and time when the object was last modified.
created_at The date and time when the object was first created.

The 'Instrument' and 'Band' fields appear under several of the data related objects below. The SLED administrators are responsible for adding new combinations as necessary. Their values are predefined in the database and the allowed choices are:

instrument Allowed choices are:
ACS, ALFOSC, DEIMOS, DESI, EFOSC2, ERIS, Euclid, FIRE, FORS2, GMOS, Gaia-DR1, Gaia-DR2, IMACS, LRIS, Legacy Survey (DR10), MIRI, MUSE, NIRCam, NIRES, NIRSpec, NISP, Pan-STARRS1, SDSS-spec, SOAR Goodman High Throughput Spectrograph, SOXS, WFC3, X-Shooter
band Allowed choices are:
F122M, F115LP, PR110L, F125LP, PR130L, F140LP, F150LP, F165LP, F218W, F220W, FQ232N, F225W, FQ243N, F275W, F250W, F280N, F300X, F336W, F330W, F344N, F343N, u, F373N, G280, FQ378N, FQ387N, FR388N, F390M, F390W, F395N, F410M, FQ422M, FR423N, F438W, F435W, FQ436N, FQ437N, FR459M, FR462N, F467M, F469N, g, F475W, F487N, FQ492N, F475X, F200LP, F502N, FR505N, FQ508N, F555W, BP, F547M, FR551N, F550M, PR200L, FQ575N, F350LP, F606W, FR601N, FQ619N, F621M, r, F625W, F631N, FQ634N, F645N, FR647M, FR656N, F656N, F657N, F658N, F660N, POL_UV, F665N, FQ672N, G, FQ674N, F673N, F689M, F680N, POL_V, VIS, FR716N, FQ727N, F600LP, G800L, FQ750N, F763M, i, F775W, FR782N, RP, F814W, F845M, FR853N, FQ889N, F892N, z, FQ906N, FR914M, F850LP, FQ924N, FR931N, FQ937N, F953N, Y, F098M, G102, FR1016N, F105W, F110W, F125W, F126N, F127M, F128N, F130N, F132N, F139M, G141, F140W, F153M, F160W, F164N, F167N
Lens

Everything in SLED (papers, collections, models, etc) is 'anchored' around lenses. The minimum requirements for a lens are its coordinates and a 'mugshot' image. This image doesn't need to be of scientific quality and can just be a pretty, colored, processed, etc, image of the lens. Images of public lenses will need to be visually inspected first through an Image Inspection task. The allowed choices of fields like 'image_conf', 'lens_type', etc, are pre-defined - additional choices are possible by contacting the admins. The 'score' field is temporary and will be replaced in the future.

ra The RA of the lens [degrees] between 0 and 360.
dec The DEC of the lens [degrees] between -90 and 90.
name An identification for the lens, e.g. the usual phone numbers.
alt_name A list of comma-separated strings for the alternative names of the system.
score The score of the candidate based on the classification guidelines (between 0 and 3).
image_sep An estimate of the maximum image separation or arc radius [arcsec]. Must be positive and <100.
info Description of any important aspects of this system, e.g. discovery/interesting features/multiple discoverers/etc.
n_img The number of source images, if known. Must be an integer.
mugshot A 'mugshot' image of the lens, usually a pretty picture characteristic of the system.
flag Whether the system is a confirmed lens, a candidate, or a confirmed contaminant. Allowed choices are:
CONFIRMED, CANDIDATE, CONTAMINANT
image_conf The configuration of the lensing system, if known. Multiple choices are possible. Allowed choices are:
LONG-AXIS CUSP, SHORT-AXIS CUSP, NAKED CUSP, CUSP, CENTRAL IMAGE, FOLD, CROSS, DOUBLE, QUAD, RING, ARC
lens_type The type of the lensing galaxy, if known. Multiple choices are possible. Allowed choices are:
GALAXY, LTG, SPIRAL, GALAXY PAIR, GROUP, CLUSTER, CLUSTER MEMBER, QUASAR, LRG, ETG, ELG
source_type The type of the source, if known. Multiple choices are possible. Allowed choices are:
GALAXY, ETG, SMG, QUASAR, DLA, PDLA, RADIO-LOUD, BAL QUASAR, ULIRG, BL Lac, LOBAL QUASAR, FELOBAL QUASAR, EXTREME RED OBJECT, RED QUASAR, GW, FRB, GRB, SN, LBG, ELG
contaminant_type The type of contaminant, if known. Multiple choices are possible. Allowed choices are:
PROJECTED QUASARS, DUAL QUASAR, QUASAR+STAR, STAR+STAR, STARS, STAR-FORMING GALAXY, STARS+GALAXY, STAR+GALAXY, STAR+OTHER, GALAXY+STARS, GALAXY+OTHER, QUASAR+OTHER, QUASAR PAIR, QUASAR+GALAXY, SINGLE QUASAR, GALAXY, GALAXIES, GALAXY PAIR, QUASAR+HOST, PROJECTED GALAXIES, PROJECTED GALAXY + QUASAR, RING GALAXY, PLANETARY NEBULA, QUASAR
Imaging data

These are images of the system taken with a specific instrument configuration. We do not store the actual data, for example, the raw pixel values in .fits format. We just store an image of the lens in a common format (e.g. .png) and its metadata - at least the 'instrument', 'band', and 'date_taken' fields. The allowed choices for the 'instrument' and 'band' fields are pre-defined - additional choices are possible by contacting the admins. Public data will need to be visually inspected first through an Image Inspection task.

date_taken The date when the data were taken (can be in the future).
future Set to true if this is related to an observation scheduled in the future. Then the date_taken field becomes a future date.
info Description of any important aspects of the observation.
exposure_time The exposure time of the image [s].
pixel_size The pixel size of the image [arcsec].
image The actual image.
instrument The instrument with which the observation was made. See above for available choices.
band The band with which the observation was made. See above for available choices.
Spectrum

Similarly to imaging data, we only keep metadata (at least the 'instrument' and 'date_taken' fields) and a plot of the spectrum. A script to help make the flux-wavelength plot can be found here. The allowed choices for the 'instrument' field are pre-defined - additional choices are possible by contacting the admins. Public spectra will need to be visually inspected first through an Image Inspection task.

date_taken The date when the data were taken (can be in the future).
future Set to true if this is related to an observation scheduled in the future. Then the date_taken field becomes a future date.
info Description of any important aspects of the observation.
lambda_min The minimum wavelength of the spectrum [nm].
lambda_max The maximum wavelength of the spectrum [nm].
exposure_time The exposure time of the image [seconds].
resolution The resolution of the spectrum [nm].
image A flux-wavelength plot of the spectrum.
instrument The instrument with which the observation was made. See above for available choices.
Catalogue

Catalogue data are managed by the database administrators and cannot be currently added/edited by the users.

date_taken The date when the data were taken (can be in the future).
future Set to true if this is related to an observation scheduled in the future. Then the date_taken field becomes a future date.
info Description of any important aspects of the observation.
radet Right ascension of detection [degrees].
decdet Declination of detection [degrees].
mag The magnitude from some catalogue.
Dmag Uncertainty on the magnitude.
distance Distance from the RA,dec of the lens [arcsec].
instrument The instrument with which the observation was made. See above for available choices.
band The band with which the observation was made. See above for available choices.
Redshift

We currently do not associate the redshift to a spectrum where it might have been calculated from. The required fields are: 'value', 'tag', and 'method'.

value The redshift of the source, if known.
dvalue_min The lower uncertainty bound, if known.
dvalue_max The higher uncertainty bound, if known.
tag Whether the redshift refers to the lens (LENS), the source (SOURCE), or anything else along the line-of-sight (LOS).
method The method used to determine the redshift. Allowed choices are:
PHOTO, SPECTRO, SINGLE, OTHER
info Description of any important aspects of the measurement.
Generic Image

This can be in fact any image related to a lens that doesn't fit in the categories above. For example, it can be an image showing the environment of the lens, or even a plot of some sort (a model, kinematics, etc). The required fields are 'name' and 'info'. Public images will need to be visually inspected first through an Image Inspection task.

name A name for the generic image.
info Description of any important aspects of the image.
image The actual image.
Model
Coming soon

Tasks

There is a number of tasks that are important for ensuring the quality of science that SLED can be used for. For example, if a colleague cannot perform their duties of keeping lenses up-to-date anymore for whatever reason, then they can cede their ownership to another user. There are various types of tasks that are detailed below, but in general any task can involve:

The latter is just a way to ensure that information is not lost, e.g. after a logout. The full list of pending and completed tasks addressed to and initiated by a user can be found here. It is recommended to delete old completed tasks.

Task name Users involved Description
Cede ownership Any two users Coming soon
Inspect images A user and an Inspector

In order to ensure the quality of images stored in SLED and put a safeguard in place for mistakes and abuse, all public images in SLED need to be inspected. This task is triggered any time an image is uploaded in SLED as public, i.e. accessible by all SLED users, or made public from private. Parent objects that contain images (lenses, imaging data, spectra, and generic images) will remain private until this task is completed. The image inspection is done by a few SLED users who have been assigned the role of an Inspector (see also user roles above). These inspectors can reject an image, providing an explanation of what was the problem. Once the task is completed, the parent objects of all approved images will be made public, while the rejected ones will remain private.

Request update Any two users Coming soon
Ask to join group Any two users Coming soon
Make private A user and an Admin Coming soon
Delete object A user and an Admin Coming soon
Register new user A user and an Admin Coming soon
Resolve duplicates A user and themselves

There is an automatic check for duplicate lenses in the database based on the RA, DEC. If the given coordinates are within 10 arcsec of an existing lens then the new lens is flagged as potential duplicate. This check includes all the lenses accessible to the user at the time, both private and public (see Access Level). If a submitted lens is a duplicate then there are the following options in order to proceed:

  1. Do nothing: The lens is ignored and not injected in the database.
  2. Distinct lens: The lens is treated as a distinct entry in the database, despite its proximity to an existing one, and injected.
  3. Merge: All the information of the new lens will be suggested to be merged into the existing one. A 'Merge' task will be created for the owner of the existing lens to resolve.
Merge lenses Any two users Coming soon
Ask private access Any two users Coming soon

Automated tasks

Fetching data

Coming soon

Pending tasks

Coming soon

Future data

Coming soon

Backups

Coming soon