Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compare flux skewers from 2LPT #93

Open
andreufont opened this issue Oct 4, 2019 · 5 comments
Open

Compare flux skewers from 2LPT #93

andreufont opened this issue Oct 4, 2019 · 5 comments
Assignees

Comments

@andreufont
Copy link
Collaborator

Once we are happy with the 2LPT density skewers, we should go ahead and extract flux skewers.

We could start by applying the same transformations than in the case of the Gaussian skewers, without re-tunning the parameters, and see how it goes.

The only thing we'd need to do is to think how to actually combine the 2LPT skewers with the extra Gaussian noise.

@andreufont
Copy link
Collaborator Author

May be @slosar might have an idea here.

@slosar
Copy link

slosar commented Oct 5, 2019

I don't think exactly the same transformations will work, but it doesn't hurt to try. You'll probably have to retune them.
So, what is the problem in adding noise. You can add noise to density and even if density goes negative flux is still fine, right?

@andreufont
Copy link
Collaborator Author

Hi @slosar - let me explain a bit more the concern:

Current setting:

  • we extract the Gaussian density skewers from CoLoRe
  • add Gaussian extra power, to get a final Gaussian field
  • apply lognormal transformation to the total Gaussian field, to obtain positive lognormal densities
  • apply FGPA to the lognormal densities to obtain optical depth

Potential future setting:

  • we extract the 2LPT density skewers from CoLoRe
  • add Gaussian extra power, to get a final field that is not quite Gaussian
  • apply lognormal transformation to the not-really Gaussian field, to obtain almost-lognormal densities
  • apply FGPA to the almost-lognormal densities to obtain optical depth

In the long term we'd want to re-tune the parameters in the last two transformations, but given that most of the variance comes from the extra power, I do not expect the statistics in the resulting skewers to be off by order unity.

My concern is whether applying a lognormal transformation to the 2LPT fields was the right thing to do, or whether there was something smarter.

@slosar
Copy link

slosar commented Oct 5, 2019

So Gaussian + lognormal is supposed to approximate matter. LPT gives matter already, so I don't think you should be lognormalling that once more. I would apply FGPA to LPT + Gaussian noise, or perhaps LPT + lognormal (gaussian noise).

@andreufont
Copy link
Collaborator Author

On Slack we had suggested 2LPT + lognormal(gaussian noise), but I wasn't quite sure whether this would need to be re-normalised later, to have bias=1 on linear scales. We could do some simple algebra, or run both and compare :-p

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants