LSSTDESC / descwl-shear-sims

simple simulations for testing weak lensing shear measurement
BSD 3-Clause "New" or "Revised" License
10 stars 9 forks source link

add catalog len() #149

Closed esheldon closed 3 years ago

esheldon commented 3 years ago

also added star_config entry for sim configs, which is an extra config that can be used for constructing the star catalog but is not otherwise checked, similar to gal_config

esheldon commented 3 years ago

this is to provide information downstream; the number of objects is typically a poisson deviate so it may be useful to extract the actual number of true objects put in

esheldon commented 3 years ago

as for star config, I had forgotten to expose the density= keyword for the StarCatalog downstream, and in doing so realized I also had not allowed the star_config entry to be in the sim config