hscmap.dataset module

class hscmap.dataset.DatasetManager(_w: hscmap.window.Window)[source]

Bases: object

Parameters:

_w (Window) –

property tile_layers: dict[str, TileLayer]
property hips: HipsDatasetManager
class hscmap.dataset.TileLayer(name: str, _w: hscmap.window.Window)[source]

Bases: object

Parameters:
  • name (str) –

  • _w (Window) –

name: str
property visible: bool
class hscmap.dataset.HipsDatasetManager(_w: hscmap.window.Window)[source]

Bases: object

Parameters:

_w (Window) –

property base_url: str | None
clear()[source]
Return type:

None

property properties: List[tuple[str, str]] | None
find_by_name(name)[source]
Parameters:

name (str) –

Return type:

List[HipsSearchResponse]

class hscmap.dataset.HipsSearchResponse(ID: str, obs_title: str, hips_service_url: str)[source]

Bases: object

Parameters:
  • ID (str) –

  • obs_title (str) –

  • hips_service_url (str) –

ID: str
obs_title: str
hips_service_url: str
hscmap.dataset.get_hips_properties(base_url)[source]
Parameters:

base_url (str) –

Return type:

List[tuple[str, str]]

hscmap.dataset.parse_hips_properties(raw_properties)[source]
Parameters:

raw_properties (str) –

Return type:

List[tuple[str, str]]