LSSTDESC / 2pt_validation

Repo to track progress on 2PT validation (LSS 1.1.X tasks)
4 stars 1 forks source link

Fix how stars are treated... #23

Closed slosar closed 8 years ago

slosar commented 8 years ago

Colore changes, dtype changes, shit hits the fan, need a more robust way of handling this. See readstars in subs.py in fastcat_Colore

slosar commented 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:

shot

danielsf commented 8 years ago

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?

fjaviersanchez commented 8 years ago

@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.

slosar commented 8 years ago

@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...

shot

slosar commented 8 years ago

@fjaviersanchez @danielsf Great, I ported this code to fastcat, now all makes much more sense.