Skip to content

Instantly share code, notes, and snippets.

View jbkalmbach's full-sized avatar

Bryce Kalmbach jbkalmbach

View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import os
import shutil
import sys
import numpy as np
import pandas as pd
from lsst.afw import image as afwImage
from lsst.afw.math.warper import Warper
def get_visit_nums(metadata_file, field_num):
  • Matching Lens Galaxies from catalog

    • Updates OM10 lens galaxy information with properties of galaxies from CosmoDC2 catalog
    • Notebooks
      • Twinkles/examples/notebooks/MatchingLensGalaxies.ipynb
      • Twinkles/examples/notebooks/MatchingLensGalaxies-SN.ipynb
  • Find and cache galaxies for sprinkler

    • Notebook
  • Twinkles/examples/notebooks/dc2_sprinkler_cache_production.ipynb

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{
"p": {"seed": 423307,
"agn_tau": 4.070e+01,
"agn_sfu": 3.630e-01,
"agn_sfg": 3.389e-01,
"agn_sfr": 3.638e-01,
"agn_sfi": 2.785e-01,
"agn_sfz": 3.006e-01,
"agn_sfy": 2.198e-01}}
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Processing #Decam/NEO data

  1. Setup LSST Stack located at /astro/store/pogo4/jbkalmbach/lsstsw

    • cd into the bin folder and in bash terminal run source setup.sh
    • Setup the tools with setup lsst_distrib
  2. I’ve set up a demo in the /astro/store/pogo4/jbkalmbach/test directory.

    • Go there and look in ingest
      • This is the directory that the processing will grab data from.
      • To set it up so that the LSST processing understands where to look we need to setup data in correct directory structure:
  • Create the following folders in ingest: (I’ve done this already here, but when you want to do processing you need to do this.)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.