Code Monkey home page Code Monkey logo

Comments (6)

kadrlica avatar kadrlica commented on June 17, 2024 2

@segasai has imSim up and running with the LSST stack and generated at image using the instance catalog.

objects_sersic2d

from lsstdarkmatter.

kadrlica avatar kadrlica commented on June 17, 2024

Using ugali and dsphsim module to simulation the spatial and color magnitude distribution of a dwarf galaxy with Mv = -12, rh = 300 pc, and D = 1 Mpc. LSST single-pass g-band detection threshold (approximate) is shown with black dashed line.

simulated_kernel
simulated_isochrone

from lsstdarkmatter.

kadrlica avatar kadrlica commented on June 17, 2024

Adapting output to match the Instance Catalog interface expected by imSim and phosim. Started with tiny_instcat.txt as an example. Stars in the dwarf galaxy are modeled as individual point sources when they are brighter that g < 25 mag. Below this threshold we generate a single extended source with an exponential profile (really a sersic2d model) with a normalization set by the integrated flux of the sub-threshold sources. A snippet of the catalog is pasted below

# instcat file written by dsphsim
rightascension 54.0
declination -54.0
mjd 59797.285409
altitude 43.6990272
azimuth 73.7707957
filter 1
rotskypos 69.092293
rottelpos 0.0
dist2moon 145.1095257
moonalt -11.1383568
moondec -18.770212
moonphase 59.628883
moonra 230.9832941
nsnap 2
obshistid 1
seed 1
seeing 0.761376
rawSeeing 0.761376
FWHMgeom 1.210734
FWHMeff 1.409653
sunalt -59.1098785
vistime 33.0
object 0    54.000000   -54.000000    13.328449 starSED/phoSimMLT/lte031-4.5-1.0a+0.4.BT-Settl.spec.gz 0 0 0 0 0 0 sersic2d    36.857143    36.857143 0 1 none CCM 0.0 3.1
object 3659    54.003472   -54.004041    24.874301 starSED/phoSimMLT/lte031-4.5-1.0a+0.4.BT-Settl.spec.gz 0 0 0 0 0 0 point none CCM 0.0 3.1
object 5532    54.065444   -53.994095    24.884787 starSED/phoSimMLT/lte031-4.5-1.0a+0.4.BT-Settl.spec.gz 0 0 0 0 0 0 point none CCM 0.0 3.1
object 6355    53.993503   -53.988691    24.966792 starSED/phoSimMLT/lte031-4.5-1.0a+0.4.BT-Settl.spec.gz 0 0 0 0 0 0 point none CCM 0.0 3.1
object 11194    54.043986   -53.924732    24.560148 starSED/phoSimMLT/lte031-4.5-1.0a+0.4.BT-Settl.spec.gz 0 0 0 0 0 0 point none CCM 0.0 3.1
object 24307    54.048338   -53.978983    24.075011 starSED/phoSimMLT/lte031-4.5-1.0a+0.4.BT-Settl.spec.gz 0 0 0 0 0 0 point none CCM 0.0 3.1
object 25715    54.004695   -53.987490    24.010676 starSED/phoSimMLT/lte031-4.5-1.0a+0.4.BT-Settl.spec.gz 0 0 0 0 0 0 point none CCM 0.0 3.1
object 27747    53.995604   -54.025702    23.027644 starSED/phoSimMLT/lte031-4.5-1.0a+0.4.BT-Settl.spec.gz 0 0 0 0 0 0 point none CCM 0.0 3.1
object 32411    54.020216   -54.016401    24.889610 starSED/phoSimMLT/lte031-4.5-1.0a+0.4.BT-Settl.spec.gz 0 0 0 0 0 0 point none CCM 0.0 3.1
object 33282    54.006759   -54.008692    24.684490 starSED/phoSimMLT/lte031-4.5-1.0a+0.4.BT-Settl.spec.gz 0 0 0 0 0 0 point none CCM 0.0 3.1

from lsstdarkmatter.

kadrlica avatar kadrlica commented on June 17, 2024

@rbliu has put together a script to run LSST source extraction on these images. @segasai has generated g- and r-band images and can create a CMD!

cmd_output

from lsstdarkmatter.

kadrlica avatar kadrlica commented on June 17, 2024

Wednesday's hack is done and this issue is successfully closed.

from lsstdarkmatter.

drphilmarshall avatar drphilmarshall commented on June 17, 2024

from lsstdarkmatter.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.