Skip to main content

Lasair

Short version​

Lasair is built for real-time filtering over enriched alert objects. Its distinctive feature is Sherlock, a sky-context classifier that uses host and catalog information to produce compact labels that users can query in filters.

How it uses Rubin alerts​

TopicPlain-English answer
Stream roleRubin lists Lasair as a full-stream broker.
Packet fidelityActive Kafka filters can return selected fields, a lite light curve, or a full alert record for matching alerts; Lasair documents that full Kafka alert records exclude cutout images.
CutoutsYes through object/API views. The API docs say object records can include cutout URLs for the images shown on the object page.
Value addedSherlock context classes, host association, light-curve features, TNS/crossmatch context, external annotations, and user filters.
Serving shapeWeb UI, REST/API client, object pages, SQL filters, active Kafka streams, notebooks, and shared or user-defined filters.

Classifier and context​

AspectDetail
LogicContext classifier plus user-defined filters and annotations.
InputsAlert history, host association, Gaia, Pan-STARRS, SDSS, 2MASS, AGN/CV catalogs, GLADE, NED, TNS, and other context.
Model familySherlock is documented as a boosted decision tree over sky-context and host information.
OutputCompact context classes such as AGN, CV, NT, SN, VS, BS, ORPHAN, and UNCLEAR.
StateObject/context-level; Sherlock classes and annotations can be used directly in SQL filters.

Technical notes​

AreaDetail
filtering modelLasair lets users write SQL filters against broker-enriched object records. Filters can be run interactively, saved, shared, or turned into active streams.
staged workflowPublic docs describe starting with SQL-like queries, then moving toward local code or active streaming filters as the workflow matures.
client repolsst-uk/lasair_api is a Python client package. It exposes methods for cone searches, SQL-style database queries, object-page data, Sherlock object/position context, stream listing, annotation, and Kafka consumer/producer workflows.
examples repolsst-uk/lasair-examples contains notebooks and scripts for working with LSST-facing Lasair, including active-stream consumption examples.
alert streamsActive filters can push machine-readable Kafka records. Lasair documents plain selected-field records, lite light-curve records, and full alert records without cutout images.
SherlockSherlock associates transients with nearby catalog and host context, then produces compact sky-context classes.
catalog contextPublic docs mention Gaia, Pan-STARRS, SDSS, 2MASS, AGN catalogs, CV catalogs, GLADE, and NED among the context sources.
annotationsLasair can combine broker-side context with user or external annotations.
output styleThe broker is strong for fast, interpretable filtering; it is not mainly a large probability-vector service.

How to use it​

ModeStatusNotes
web UIYesWeb access and object inspection are central to Lasair.
APIYesREST API docs are public.
SQL filtersYesSQL filtering is a core interface.
Python clientYesThe public lasair client package wraps cone search, query, object, Sherlock, stream, and annotation methods.
Kafka streamYesActive filters can produce Kafka records for selected alert subsets.
archive / bulk exportUnknownNo public bulk-export workflow is documented.

Good fits​

Science caseFitWhy
lensed AGNLikelyHost/context association and SQL filters are useful for lens candidate screens.
lensed SNeLikelyReal-time filters and context classes support fast transient narrowing.
anomalous transientsLikelyFeature-driven filters and external annotations enable custom candidate logic.
variable starsLikelySherlock classes, light-curve features, and filters are relevant.
solar systemUnknownNo dedicated solar-system workflow is documented in this guide.

Notes for users​

  • Lasair's public classifier is mainly contextual, not a broad probability-calibrated photometric taxonomy.
  • For score vectors or model-feature tables, ALeRCE or Fink-style products may be a better fit.
  • Full-alert Kafka records are for selected active filters, not a promise that one user can pull every alert and every cutout through Lasair.

Sources​