Hi simulations and survey strategists!
We announced this at the PCW, and it’s been available for a little while, but here is a more ‘formal’(?) announcement of our switch from lsst_sims software to rubin_sim!
The rubin_sim package replaces the lsst_sims packages. We have dropped support for the lsst_sims packages (ie. sims_maf, sims_featureScheduler, sims_photUtils, sims_utils, sims_catalogs), and are now deploying almost all of the same functionality in rubin_sim, a single python package which is independent of the LSST DM software stack (i.e. you do not need to use eups to set up the software, and you don’t need to install all of the DM requirements).
There were a range of reasons for this move, but the end result we feel is that rubin_sim is easier for us to maintain and easier for you to install and use.
The code and installation instructions can be found here: https://github.com/lsst/rubin_sim
Much of what you’ll find in rubin_sim is what you will have been familiar with before:
sims_maf has become rubin_sim.maf
sims_photUtils has become rubin_sim.photUtils
sims_utils has become rubin_sim.utils
sims_skybrightness has become rubin_sim.skybrightness
sims_skybrightness pre has become rubin_sim.skybrightness_pre
sims_featureScheduler has become rubin_sim.scheduler
The APIs within each package are generally the same as they were previously. Modifying imports in your code from
import lsst.sims.maf.slicers as slicers to
import rubin_sim.maf.slicers as slicers (and so on) should let the remainder of your code work without additional needs for modification.
A few things are different. We have dropped support for sims_catalogs and sims_catUtils, and there are no corresponding rubin_sim packages. (this is because DESC were already moving away from use of these packages and we - as the Survey Strategy Team - are not scoped for their support). We have also changed how we are evaluating if a given point on the sky falls into the camera focal plane - we now have an LsstCameraFootprint class which uses an approximation of the LSST focal plane map, instead of the full mapping accessed through lsst.afw.cameraGeom – this allows us to drop the requirements on the remainder of the LSST DM stack, so that rubin_sim can be installed independently.
Another difference is in how to download the data files required to use rubin_sim: these are now downloaded with the rs_download_data script, which you run after installing rubin_sim. The download location can be any directory you choose; the version of the downloaded data files is appropriate for the running version of rubin_sim.
We still welcome metrics submitted to MAF; these should now be submitted to rubin_sim – there is a rubin_sim/maf/mafContrib directory which would be a great place to write metrics for a PR.
We also welcome PRs for other areas within rubin_sim!