Usage and Features

Layers

To access the layer menu, mouse over the layer menu icon ( Layer menu icon ) in the top right. The layer menu can be locked by clicking the lock icon in the layer menu’s header. The screenshot below shows a locked layer menu with some annotations describing a few of its less obvious features.

Locked layer menu with annotations

Projection and Orientation

The default map projection is EPSG:4326. Currently, the projection cannot be changed but there are plans for this to be configurable. The external baselayers from Legacy Survey are reprojected by OpenLayers from EPSG:3857 to EPSG:4326.

The orientation of the layers is defaulted to 360 < ra < 0 to allow seamless comparisons between the Simons Observatory maps and the included comparison maps. However, the toggle switch at the top left ( Toggle button for RA range ) can orient the layers to -180 < ra < 180 when preferred. Note that the comparison maps are disabled when the map is oriented to -180 < ra < 180.

Baselayers

These are maps that are served from your tile server or, in the case of the Comparison maps section, from an external tile server.

Baselayer history is tracked similarly to how web browsers track history. The left and right arrows in the layer menu’s header (see image above) can be used to switch baselayers according to the history stack. Alternatively, one can use the keyboard to enter H to go back and L to go forward.

Highlight Regions

When applicable, a section will be rendered in the layer menu for highlight regions. These regions can be toggled on/off via checkboxes. The regions are rendered as simple rectangular overlays. When hovered over, information will be displayed and a user can open a menu in order to download a cutout of the active baselayer within the region’s boundary.

The screenshot below shows an example of a displayed highlight region named Region 1 when the region is hovered over.

Map showing an example highlight region

Source Catalogs

When applicable, a section will be rendered in the layer menu for source catalogs. These catalogs can be toggled on/off via checkboxes. Each source in a catalog is rendered as a marker that can be clicked on to reveal its data.

The screenshot below shows the data displayed when a source’s marker is clicked.

Map showing an example source popup

Filtering

Layer menu after a search filter is applied

Enter a search term into the search bar, then press Enter. Note that the filter will be applied to the Baselayers, Source catalogs, and Highlight regions.

When the search input is active, pressing Esc will clear the input and return the layer menu to its original, unfiltered state.

External Searches

Users can search SIMBAD or explore in Legacy Survey an area of interest. The SIMBAD search is performed with a radius of 5 arcmin from the clicked position. The Legacy Survey instance will open and be marked at the clicked position.

This feature can be surfaced as follows:

  1. Hold the Alt button and click anywhere on the map. A marker with a popup will appear. The popup is identical to those shown in Step 3 of both “Go To” features described above.

  2. Click the desired search link(s). Note that links open in a new tab.

Download Cutouts

Regions of a map’s active baselayer, with the exception of any “comparison map” baselayers, can be downloaded as .fits, .png, .jpg, or webp files by doing the following:

  1. Either toggle on the region in the layer menu or click the crop icon in the top left to draw a region of interest. The screenshot below shows the button for drawing a new highlight region. Refer to Highlight Regions above to learn how to use the layer menu to toggle on/off existing highlight regions.

Button to draw a highlight region on the map
  1. Hover over the region of interest to show the region’s overlay information.

Example highlight region's initial overlay
  1. Click the hamburger menu button to show the download options, and select the desired file type.

Example highlight region's menu showing

Histogram Controls

Defined Parameters

Some of the color map settings used in the histogram and baselayers are derived from matplotlib. The image below shows the histogram annotated with the matplotlib variable names of each field, followed by a brief description of each matplotlib parameter.

Histogram controls annotated
  • vmin and vmax

    • These set the data range that matplotlib uses to map to the color map.

  • cmap

    • This corresponds to the selected color map, which defaults to RdBu_r.

Additionally, the tile server responds to the following boolean values:

  • log

    • Determines whether or not a log transform is applied.

  • abs

    • Determines whether or not an absolute value transform is applied. Note that the transform essentially folds negative values into positive values rather than filtering away negative values.

Changing Parameters

With the Dialog

  1. Click the button with the diagonal arrow to open a dialog box that allows more precise adjustments of each parameter.

Histogram controls annotated to show button that opens dialog
  1. Edit the desired parameter(s), then submit.

Dialog box to edit parameters

Changing vmin and vmax

There are a number of ways to change vmin and vmax, either individually, simultaneously, or precisely.

Individually

Use the slider’s drag handles to change vmin or vmax.

Histogram controls annotated to show drag handles
Simultaneously

Users have two options that change vmin and vmax simultaneously and maintain the difference between them.

  • Option 1: Drag the blue bar between the slider’s drag handlers left or right.

Histogram controls annotated to show draggable blue bar

Users can also use W and S to widen or narrow, respectively, the range between vmin and vmax. Again, refer to the keyboard shortcuts table.

Precisely

Users can precisely set vmin and vmax as follows:

  1. Click either the vmin or vmax value shown in the histogram display.

Histogram controls annotated to show vmin and vmax
  1. Enter vmin and vmax values into the inputs that appear. Press enter to set these values.

Histogram controls annotated to show vmin and vmax inputs after being clicked

Alternatively, use the dialog box shown above to precisely set vmin and vmax.

Changing cmap

Users can use the dropdown selector to choose between one of the built-in options. If a different cmap value compatible with matplotlib is desired, use the dialog box and enter its value in the color map field.

Apertures

This feature allows a user to more deeply inspect a small region of a baselayer. Specifically, a user can draw a circle overlay with a maximum 1-degree diameter. A request then returns the mean, standard deviation, maximum, and minimum pixel values contained within the region.

The apertures will automatically update data when changing baselayers and users are limited to at most 3 apertures. Note, however, that this feature is disabled for external baselayers. When a user changes to an external baselayer, the button to add apertures will be disabled and any apertures shown on the map will be hidden.

An example aperture overlay with its data displayed in an adjacent overlay.

Adding an Aperture

Button to add an aperture

To draw an aperture, a user will:

  1. Click on the button to enable the draw feature

  2. Select a point on the map to be the center of the aperture

  3. Use the mouse to adjust the diameter of the aperture, which is restricted to a maximum of 1 degree.

  4. Click the map to finalize the aperture. This triggers the data retrieval that, once received, will be rendered.

Note that users are limited to 3 apertures. Once the limit is reached, the button to add apertures will be disabled.

Removing an Aperture

Aperture overlay with red outline indicating it is selected for removal

To remove an aperture, a user will:

  1. Click the aperture or its data overlay in order to select an aperture for removal. Refer to the screenshot to note how the aperture will appear when selected.

  2. Press delete on the keyboard to remove the aperture.