Closed slosar closed 8 years ago
Will go straight to sampling stars from healpix file.
@fjaviersanchez , to remind you, here is your email from jul 25:
Hello,
The script is attached. What I do is to get random positions from a higher resolution nested healpix map. I think this is the fastest way to do it. You can change the healpix map resolution if you want less stars to be in the same positions (it is unlikely with 2M stars but if we go to higher stellar densities it might happen) or add certain gaussian around the center of these positions.
A couple of issues:
What are the requirements on this stellar population? CatSim contains a simulated Milky Way generated with Mario Juric's GalFast code. Perhaps that could be of some use?
@slosar
@danielsf
We decided to use the MAF maps from the CatSim stars because we wanted a realistic distribution of densities as a function of position, and downloading the whole stellar population from CatSim was really slow. We don't need all the stars in the catalog, just a subsample to see their effect in the clustering signal but, we need the whole LSST footprint.
@fjaviersanchez Thanks for your emails today. As you say, what i though is an issue, is not an issue at all, since that finger is outside the region anway, see the shot below. I will just use your code and generate those stars on the fly rather than move around this massive file...
@fjaviersanchez @danielsf Great, I ported this code to fastcat, now all makes much more sense.
Colore changes, dtype changes, shit hits the fan, need a more robust way of handling this. See readstars in subs.py in fastcat_Colore