1 of 35

Welcome to the March 18th SMWLV-TVS Cadence Hack Day!

Thursday, March 18th, 2021

“Morning:” 10:00am- 12:00 Noon EDT

“Afternoon:” 1:00 - 3:00pm EDT

Hosted on Gathertown: click here to enter

Passcode: smwlvtvs

Meeting homepage: this Community Post

1

The two sessions are identically scheduled - attend as much or as little as you like!

SMWLV-TVS: Cadence Hack Day, Thurs March 18th, 2021

2 of 35

Anticipated observing strategy hack days

Goal: help ensure the community provides the Rubin Observatory with our cadence input by the April 15th deadline. Anticipated (in Feb) sequence w/ suggested foci:

  1. Thurs Feb 18 - specification
  2. Thurs Mar 04 - specification and implementation
  3. Thurs Mar 18 - implementation, evaluation (on OpSims); share projects in progress
  4. Thurs Apr 01 - evaluation, analysis
  5. Thurs Apr 08 - Cadence notes writing (comment: April 09 = HST deadline)
  6. Tues Apr 13 - Cadence notes writing

2

SMWLV-TVS: Cadence Hack Day, Thurs March 18th, 2021

3 of 35

“Morning” schedule (from this doc)

3

“Morning” session: 10:00am - 12:00 Noon EDT Thurs Mar 18 (all times EDT)

10:00 - 10:05 am

Participants assemble: log in to Gathertown, go to the “SMWLV” room

10:05 - 10:15 am

Welcome: breakout room sign-up

10:15 - 10:45 am

Hack session 1 part 1

10:45 - 11:15 am

Plenary: investigations in progress (see the Slides)

11:15 - 11:50 am

Hack session 1 part 2

11:50 am - 12:00 Noon

Groups encouraged to write TODOs and issues into the plenary slide deck

We’ll stay in Gathertown for the plenary unless more than about 15 people are present.

SMWLV-TVS: Cadence Hack Day, Thurs March 18th, 2021

4 of 35

“Afternoon” schedule (from this doc)

4

“Afternoon” session: 1:00 pm - 3:00 pm EDT Thurs Mar 18 (all times EDT)

1:00 - 1:05 pm

Participants assemble: log in to Gathertown, go to the “SMWLV” room

1:05 - 1:15 pm

Welcome: breakout room sign-up

1:15 - 1:45 pm

Hack session 2 part 1

1:45 - 2:15 pm

Plenary: investigations in progress (see the Slides)

12:15 - 2:50 pm

Hack session 2 part 2

2:50 - 3:00 pm

Groups encouraged to write TODOs and issues into the plenary slide deck (the slide with the pink background below)

We’ll stay in Gathertown for the plenary unless more than about 15 people are present.

SMWLV-TVS: Cadence Hack Day, Thurs March 18th, 2021

5 of 35

Objectives for this Hack Day:

  1. Share investigations in progress
  2. Make progress on the implementation of your figure of merit

Comments for item 2:

  • Most investigators will likely be running MAF via remote jupyter notebooks, on NOIRLAB’s Datalab or Sciserver. For an unofficial annotated walk-through on running MAF at these locations, click here.
  • The maf_contrib github repository has many examples, e.g. this example notebook for microlensing.
  • Most teams will likely use github for version control and sharing. It can be driven from the terminal in both Datalab and Sciserver. SMWLV has a repository for metrics here (don’t forget to fork before cloning). However, many people may prefer to use personal repositories.
  • Here is a useful example notebook (by John Gizis, assisted by Peter Yoachim): https://github.com/jgizis/LSST-BD-Cadence

* The SCOC solicitation for cadence notes can be found here.

Links to the lists of planned cadence notes thus far: (SMWLV , TVS)

5

SMWLV-TVS: Cadence Hack Day, Thurs March 18th, 2021

6 of 35

One-slide summaries of investigations in progress

6

Our mid-session plenary today will consist of short one-slide descriptions of the cadence investigation(s) under way by participants.

Template slides (green background) follow (slide ~14 onward): if no blank templates are available, just duplicate the template slide and complete as needed.

(This likely will not form a complete set of the investigations underway - there are far too many for that, see e.g. the TVS and SMWLV planned cadence notes - but to help you solicit help or to find investigations that interest you and to contribute.)

SMWLV-TVS: Cadence Hack Day, Thurs March 18th, 2021

7 of 35

Resources

(See also the Community thread for this workshop. The community thread for hack day 1 also has useful discussion.)

7

SMWLV-TVS: Cadence Hack Day, Thurs March 18th, 2021

8 of 35

Example specification: short exposures and saturation

An example specification document is available at this link. It specifies a high-level “Figure of Merit” (FoM) in terms of a single number. This FoM is in turn described in terms of “Metrics” - quantities evaluated for each spatial location (“Healpix”) using the MAF framework.

Templates of this specification are provided as a resource to help groups get started translating their science cases into Figures of Merit, at the hack day 3 breakout room signup page. Feel free to {use / edit / copy / modify / ignore completely}.

The templates are public, which means everyone can see each other’s specifications (useful for e.g. determining overlapping science cases).

8

SMWLV-TVS: Cadence Hack Day, Thurs March 18th, 2021

9 of 35

Organizing the breakout rooms

To propose a topic for a breakout room, please use the hack day III breakout room signup page (time will be provided after this plenary).

(A suggested plan will be be input based on the sign-up sheet, but you should feel free to edit this.)

During the session, you should be able to move between rooms at will. That said, if you do participate in a breakout room, it will be helpful if you can write your name in the “participants” column so that we know who contributed work.

At the end of the session, groups will be invited to comment on any issues or difficulties encountered.

9

SMWLV-TVS: Cadence Hack Day, Thurs March 18th, 2021

10 of 35

Breakout room “locations”

10

SMWLV-TVS: Cadence Hack Day, Thurs March 18th, 2021

11 of 35

Communication

This meeting:

  • Gathertown
    • The “chat” feature in Gathertown (not persistent after this meeting). Useful to send messages to others at the meeting.�
  • The Community thread for this workshop - public on the internet
  • The LSSTC Slack channel #cadence-hack-days-smwlv-tvs - LSSTC members
    • Will will add all participants to this Slack channel, using the Breakout Room Sign-up page as a roster of attendees. (If you want to be added to this channel but don’t want to sign up for a breakout room, just add your name to the end of that document.)
    • The LSSTC Slack channel #sims-maf has useful information and discussion on MAF

11

SMWLV-TVS: Cadence Hack Day, Thurs March 18th, 2021

12 of 35

One-slide summaries of investigations in progress

12

Our mid-session plenary today will consist of short one-slide descriptions of the cadence investigation(s) under way by participants.

Template slides (green background) follow (slide ~14 onward): if no blank templates are available, just duplicate the template slide and complete as needed.

(This likely will not form a complete set of the investigations underway - there are far too many for that, see e.g. the TVS and SMWLV planned cadence notes - but to help you solicit help or to find investigations that interest you and to contribute.)

(Will update: shortly before the afternoon plenary session, I will re-order the slides so that those not discussed in the morning session go first.)

(If you have prepared a slide in powerpoint on your computer, you can upload it to the following public google drive folder: hackday3_powerpointSlidesINBOX )

SMWLV-TVS: Cadence Hack Day, Thurs March 18th, 2021

13 of 35

One-slide summary: Young stars and their variability

Who’s working on this: Sara Bonito, Laura Venuti, Mario Guarcello, Loredana Prisinzano, Francesco Damiani, Keivan Stassun, John Gizis

One-line summary: a week long run of 10 hours per night with observations every 30 min each year on Carina Nebula with g, r, i (u) filters

Science area(s): variability of young stars; discriminate accretion bursts, rotation, dip for warp disk, …, from the light curves

Status ( idea / specified / prototyped / implemented / run on opsims / output analyzed / cadence note drafted): specified

Immediate next task: Implement figure of merit in Jupyter notebook, using previous developed notebooks on light curves and variability (e.g. transients, TDEs, ...)

Anticipated challenges / upcoming decisions: What (if any) challenges remain? Are there any capabilities you need to obtain before you can implement your figure of merit or conduct your investigation?

Challenges solved: What accomplishments have you already made towards your goal? This is a good place to advertise any advances you have made that you think others will benefit from.

13

SMWLV-TVS: Cadence Hack Day, Thurs March 18th, 2021

14 of 35

One-slide summary: Galactic Plane coverage for Star Forming Regions

Who’s working on this: Sara Bonito, Loredana Prisinzano, Francesco Damiani, Laura Venuti, Mario Guarcello, John Gizis, Keivan Stassun

One-line summary: Uniform cadence over 10 years (WFD) , g, r, i (u) filters in the Galactic Plane (|b|<5 deg)

Science area(s): mapping star forming regions in the Galaxy; young stellar objects, EXor and FUor objects

Status ( idea / specified / prototyped / implemented / run on opsims / output analyzed / cadence note drafted): prototyped

Immediate next task: Implement figure of merit in Jupyter notebook, already partially developed (to be improved including appropriate star formation density )

Anticipated challenges / upcoming decisions: Estimate the total number of stars with t<10Myr, mass M>0.3 Msun in the Galactic Plane. Working on this challenge to provide appropriate function in the Jupyter notebook to implement figure of merit (by Peter Yoachim)

Challenges solved: Estimate the maximum distance to detect stars down to 0.3 Msun assuming WFD observing strategy. Estimate the related star volume. Trying to convert this star volume into total number of young stars in the Gal. Plane

14

SMWLV-TVS: Cadence Hack Day, Thurs March 18th, 2021

15 of 35

One-slide summary: Develop Alternative Galactic Plane Footprints

Who’s working on this: Rachel Street

One-line summary: Develop ~3 footprints (inclusive, medium, minimum-viable) in the Galactic Plane which highlight regions of highest scientific value.

Science area(s): Galactic transients and variables

Status ( idea / specified / prototyped / implemented / run on opsims / output analyzed / cadence note drafted): Idea

Immediate next task: Debugging and expanding implementation

Anticipated challenges / upcoming decisions: Refreshing familiarity with MAF; find the most constructive way to provide the MAF team with [good / acceptable / bad] evaluation

Challenges solved:

15

SMWLV-TVS: Cadence Hack Day, Thurs March 18th, 2021

16 of 35

One-slide summary: Studying Local Volume galaxies with resolved stellar populations

Who’s working on this: Jeff Carlin, Knut Olsen, Leo Girardi

One-line summary: We want to ensure that the necessary depth (in at least 2 filters), image quality (for star/galaxy separation and identifying globular clusters), crowded-field photometry, and the overall WFD footprint are not hampering resolved-star science that can be done with/near LV galaxies.

Science area(s): Resolved stellar populations, dwarf galaxies, tidal substructures, crowded field photometry.

Status ( idea / specified / prototyped / implemented / run on opsims / output analyzed / cadence note drafted): specification in progress -- ideas welcome. Specification at this link: cadenceFoM_LocalVolume

Immediate next task: Need to turn the ideas into a figure of merit.

Anticipated challenges / upcoming decisions: Need to decide on the main capability to be captured in a FOM. Define what surface brightness/crowding limit we need to reach. Learn how to use MAF!

Challenges solved:

16

SMWLV-TVS: Cadence Hack Day, Thurs March 18th, 2021

17 of 35

One-slide summary: Short exposures Figure of Merit

Who’s working on this: Will Clarkson, John Gizis, Loredana Prisinzano, Sara Bonito, Mario Guarcello

One-line summary: Total survey area with sufficiently bright saturation limit

Science area(s): Observations of bright or foreground objects; stellar populations behind a bright foreground population

Status ( idea / specified / prototyped / implemented / run on opsims / output analyzed / cadence note drafted): specified

Immediate next task: Implement figure of merit in Jupyter notebook, edited from an example notebook in the SMWLV-Metrics Github repository.

Anticipated challenges / upcoming decisions: Is a single apparent magnitude each for bright / faint limit in each filter sufficient?

Challenges solved: Class that estimates the saturation limit for each observation [written by Peter Yoachim]

17

SMWLV-TVS: Cadence Hack Day, Thurs March 18th, 2021

18 of 35

One-slide summary: Confusion-limited legacy survey

Who’s working on this: Will Clarkson, Knut Olsen, your name here

One-line summary: In crowded regions, LSST should produce a template image, constructed of at least four images in good seeing, that reaches the confusion limit for 0.55 arcsec seeing. This forms a confusion-limited legacy image set.

Science area(s): Microlensing, stellar populations, planetary nebulae, any future reduction requiring a high-spatial-resolution template image / truth table

Status ( idea / specified / prototyped / implemented / run on opsims / output analyzed / cadence note drafted): idea

Immediate next task: Need to translate the goal into a specification, then implement it as a notebook.

Anticipated challenges / upcoming decisions: How do we judge whether observations in a particular field are sufficient to make a useful legacy image in crowded regions? Here is a possible proxy: count the fraction of the sky for which:

  • (at least four exposures have seeing 0.55 arcsec or better) AND
  • (the summed m5sigma from these good-seeing exposures is at least three magnitudes deeper than the confusion limit at 0.55 arcsec in the region). TO ADD - COLOR.

Challenges solved: N/A

18

SMWLV-TVS: Cadence Hack Day, Thurs March 18th, 2021

19 of 35

One-slide summary: [Fe/H] precision for (red clump stars)

Who’s working on this: Massimo Dall’Ora, Annalisa Calamida, Mike Rich, Will Clarkson, Mario Guarcello, Peter Yoachim, Sara Bonito, Loredana Prisinzano

One-line summary: Photometric [Fe/H] uncertainty estimated from (u-i) color uncertainty using relations in Section 4.3.2. of Christian Johnson et al. 2020 MNRAS 499, 2357

Science area(s): Stellar populations

Status ( idea / specified / prototyped / implemented / run on opsims / output analyzed / cadence note drafted): partly specified; incomplete draft specification is here: cadenceFoM_stellarMetallicity

Immediate next task: Draft a first-order notebook by dissection of bd_distance_metric?

Anticipated challenges / upcoming decisions: It would be best to also determine the uncertainties on Teff & E(B-V) from LSST photometry, as a function of observing strategy. Is it practical to implement these important additional tests by April 15? Some discussion on this and other issues can be found in the draft specification above. Perhaps broaden to include other stellar tracers? (E.g. pulsators? Literature has other photometric metallicity estimators, e.g. F- G-class stars, in which case (u-g) color. (Note: not just the bulge!)

Challenges solved:

19

SMWLV-TVS: Cadence Hack Day, Thurs March 18th, 2021

20 of 35

One-slide summary: A Detailed census of variables and transients in the Magellanic Clouds

Who’s working on this: Knut Olsen, Ilaria Musella, Vincenzo Ripepi, Marcella Marconi, Marcella Di Criscienzo, Mario Giuseppe Guarcello

One-line summary: Developing a figure of merit to cover a broad set of variable and transient populations in the Magellanic Clouds

Science area(s): Stellar populations, variable stars, microlensing, supernovae (through light echoes), ISM, star formation.

Status ( idea / specified / prototyped / implemented / run on opsims / output analyzed / cadence note drafted): specified/prototyped/partially implemented/partially run on opsims.

Immediate next task: Derive figure of merit based on Nvisits and some measure of timing, justify through exploration of additional variable populations

Anticipated challenges / upcoming decisions: Will need to limit the number of populations that we explore

Challenges solved: Nice investigation of RR Lyrae period and light curve shape metrics by Marcella Di Criscienzo

20

SMWLV-TVS: Cadence Hack Day, Thurs March 18th, 2021

21 of 35

One-slide summary: A 3-D Map of the Magellanic System

Who’s working on this: Knut Olsen, Leo Girardi, Adriano Pieres, ...

One-line summary: Evaluating ability to detect faint structures in the periphery of the Magellanic Clouds, use RR Lyrae to trace 3-D geometry

Science area(s): Stellar populations, dwarf galaxies, streams

Status ( idea / specified / prototyped / implemented / run on opsims / output analyzed / cadence note drafted): Mostly specified.

Immediate next task: Complete specification

Anticipated challenges / upcoming decisions: Implementing sketched out metrics

Challenges solved: Basic technique of identifying LSB structure is well documented

21

SMWLV-TVS: Cadence Hack Day, Thurs March 18th, 2021

22 of 35

Cataclysmic Variables cadence�[David Buckley, Paula Szkody, Hanno Marais, Retha Pretorius, Patrick Woudt...]

We aim to investigate what the optimal survey strategy would be for CVs & related objects (incl. Novae), taking into account the various sub-classes and their out-burst & variability timescales

  • Metric 1: chance of discovery given outburst amplitude/colour/timescale
  • Metric 2: early (first year(s) vs. late (1/2 way through WDF survey) discovery
  • Metric 3: ability to determine periodic behaviour (orbital, super-orbital)
  • Metric 4: ability to detect short period double degenerates (WD + WD)
  • Metric 5: ability to find objects in the plane

PLOT

Dwarf Nova in CRTS:

Infrequent high amplitude outbursts

Magnetic CV in CRTS:

variable accretion states

23 of 35

One-slide summary: Variability of Blazars [live notes from discussion]

Who’s working on this: Claudia M. Raiteri, Maria Isabel Carnerero Martin,, … , Sara Bonito

One-line summary: Blazar lightcurve recovery

Science area(s): AGN variability

Status ( idea / specified / prototyped / implemented / run on opsims / output analyzed / cadence note drafted): prototyping - started the implementation. Testing metrics (transientASCII, Saturation limits...).

Immediate next task: What do you intend to do next for this figure of merit or investigation?

Anticipated challenges / upcoming decisions: Can existing metrics be applied to Blazar variability at these timescales? Bright limit applies? (Some interaction with young stars but are different regimes). Saturation will likely be a key issues. Some overlap with SN detection: revisit time likely important… already know that 2x15s better than 1x30s.

Challenges solved: What accomplishments have you already made towards your goal? This is a good place to advertise any advances you have made that you think others will benefit from.

23

SMWLV-TVS: Cadence Hack Day, Thurs March 18th, 2021

24 of 35

(Template slides for specifications follow)

24

SMWLV-TVS: Cadence Hack Day, Thurs March 18th, 2021

25 of 35

One-slide summary: Your investigation here

Who’s working on this: Who has expressed an interest in this investigation?

One-line summary: What investigation are you doing?

Science area(s): Indicate science areas your work will be relevant to.

Status ( idea / specified / prototyped / implemented / run on opsims / output analyzed / cadence note drafted): pick one or write your own.

Immediate next task: What do you intend to do next for this figure of merit or investigation?

Anticipated challenges / upcoming decisions: What (if any) challenges remain? Are there any capabilities you need to obtain before you can implement your figure of merit or conduct your investigation?

Challenges solved: What accomplishments have you already made towards your goal? This is a good place to advertise any advances you have made that you think others will benefit from.

25

SMWLV-TVS: Cadence Hack Day, Thurs March 18th, 2021

26 of 35

One-slide summary: Your investigation here

Who’s working on this: Who has expressed an interest in this investigation?

One-line summary: What investigation are you doing?

Science area(s): Indicate science areas your work will be relevant to.

Status ( idea / specified / prototyped / implemented / run on opsims / output analyzed / cadence note drafted): pick one or write your own.

Immediate next task: What do you intend to do next for this figure of merit or investigation?

Anticipated challenges / upcoming decisions: What (if any) challenges remain? Are there any capabilities you need to obtain before you can implement your figure of merit or conduct your investigation?

Challenges solved: What accomplishments have you already made towards your goal? This is a good place to advertise any advances you have made that you think others will benefit from.

26

SMWLV-TVS: Cadence Hack Day, Thurs March 18th, 2021

27 of 35

Miscellaneous resources / scratchspace for sharing notes, figures

27

SMWLV-TVS: Cadence Hack Day, Thurs March 18th, 2021

28 of 35

TODOs arising from Hack Day 3 (Thurs March 18)

Please indicate here any actions you have identified for yourself or your group arising from this hack day.

  • Knut, Will - investigate what would be involved in implementing a Crowdingm5Metric for color (see Olsen, Blum & Rigaut 2003 Section 2.2)
  • John, Will - convert the bright object metric into a figure of merit and run on some opsims. Use the version at the SMWLV-metrics github repository.
  • TBA - Cadence variability cadence note
  • TBA - NEw techniques for young cluster detection, should translate into figure of merit-friendly constraints
  • TBA - Globular cluster cadence investigation - specify?
  • RachelS - Review newest OpSims, develop GPfootprint metric

28

SMWLV-TVS: Cadence Hack Day, Thurs March 18th, 2021

29 of 35

Slides not used in this session / kept from previous hack days

29

SMWLV-TVS: Cadence Hack Day, Thurs March 18th, 2021

30 of 35

Issues and TODOs arising from Hack Day 2: “Morning”

To be entered by participants after their hack session

  • TODO Crowding: compare the peak in the apparent magnitude histogram to a given completeness level (say 0.5), to get a 1st-order relationship between the observed magnitude distribution and the achieved crowding level. Probably start with VVV. [Will, Leo, Alessandro]. Re-read Olsen, Blum & Rigaut 2003 to get a sense for the size of the filter:filter effects on the luminosity functions [Will,]]
  • TODO Young stars/Galactic Plane: explore notebooks of interest (e.g. TDE notebook for the YSOs variability cadence, as suggested by Peter Y.); finalize the definitions of FoMs for YSOs variability and for the GP coverage for star forming regions [Sara, Loredana, Laura]
  • TODO Crowding: compute cumulative depth per Healpix and compare to crowding limit of worst-seeing image in the cumulative set [Knut]
  • TODO Fast Transients: explore notebooks, especially TDE metric. Prepare light curves from grids of models. Tweak the metric if needed. Improve transient injection, to have the sources uniformly distributed in volume (tentative and if needed) [Igor, Michael]
  • sdf

30

SMWLV-TVS: Cadence Hack Day, Thurs March 18th, 2021

31 of 35

Issues and TODOs arising from Hack Day 2: “Morning”

To be entered by participants after their hack session

  • Compile the list of OpSim simulations to run against the MC metrics [Knut]
  • Look at installing gatspy @ DataLab [Knut]: have made request to install as system package, but can also install locally like this, from the notebook:�import sys�pp = sys.executable�%%bash -s "$pp"�$1 -m pip install --user gatspy
  • sdf

31

SMWLV-TVS: Cadence Hack Day, Thurs March 18th, 2021

32 of 35

Issues and TODOs arising from Hack Day 2: “Afternoon”

To be entered by participants near the end of their hack session. Please also indicate your name so that others know who to work with.

  • TODO Fe/H and reddening: decide which four filters are needed to get both Fe/H and reddening (u,i, and what others?). Look in the literature to determine how photometric uncertainty in these filters translates into uncertainty in reddening and in extinction. Finish specifying the metric. [Will, Annalisa, Mike, Max]
  • TODO crowding: Determine what (if any) DECam artificial star tests are available in crowded regions. [Annalisa, Will, Mike]. It seems that the SMASH survey of David Nidever et al. has done artificial star tests for parts of the MC’s at least.
  • sdf

32

SMWLV-TVS: Cadence Hack Day, Thurs March 18th, 2021

33 of 35

(For reference, here are the specifications from the Feb 18th hack day)

(Can also be found in the breakout rooms page)

33

Specification doc

Lead author (if known)

Sara Bonito

Sara Bonito

John Gizis

(Will Clarkson)

Knut Olsen

Will Clarkson

SMWLV-TVS: Cadence Hack Day, Thurs March 18th, 2021

34 of 35

[Some discussion notes from Thurs Feb 18]

Notes from initial discussion - what to work on:

  1. Peter Yoachim - lots of ingredients already available in maf for some of the ideas we just heard.
    1. E.g. brown dwarf population: astrometry metrics take in SED and filters. One thing to do would be to define a population of brown dwarfs, distribute on sky, and recover the precision of recovery. E.g. here’s N, if we change strategy, N changes like so…
      1. (Question - is there an example notebook that does population recovery?)
    2. Bright stars - the saturation stacker in the notebook linked has been merged into MAF and an error corrected [Will: don’t use the one in my example notebook, use MAF instead!]
      • Variable conditions do spread out the saturation level.
    3. LMC/SMC metrics would be great. LG’s stellar density maps are now in MAF. If you have a metric that needs Nstars / sq arcmin, we have that in the MAF now.
    4. u-band for metallicities v useful. Hope folks even more aggressive, e.g. if we have photometric depths in 6 filters, can we convert those into uncertainties in all the stellar parameters?
      • Would be v helpful in driving the distribution of filters, particularly for “minisurvey” regions - doesn’t exist yet
        1. LG - this would be about 5 lines of python code
      • Example of population recovery for variables and transients, e.g. 10,000 SNe, how are they observed, what are the criteria. Example: [see next slide]

34

SMWLV-TVS: Cadence Hack Day, Thurs March 18th, 2021

35 of 35

[Comment from Feb 18th slides]

35

[Comment from Peter Yoachim:]

For folks interested in defining a population of objects and then seeing how well they are observed, the microlensing metric is a good example.

Source code here: https://github.com/LSST-nonproject/sims_maf_contrib/blob/master/mafContrib/microlensingMetric.py

Example notebook running it here: https://github.com/LSST-nonproject/sims_maf_contrib/blob/master/science/Transients/Microlensing.ipynb

This should be easy to modify to other populations (say, brown dwarf stars, Cepheid Variables, whatever). Just define your spatial distribution, then define your detection criteria, and you’re good to go.

SMWLV-TVS: Cadence Hack Day, Thurs March 18th, 2021