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

Port Weak Lensing code to Mesh TensorFlow #84

Open
1 of 4 tasks
EiffL opened this issue Jun 4, 2021 · 4 comments
Open
1 of 4 tasks

Port Weak Lensing code to Mesh TensorFlow #84

EiffL opened this issue Jun 4, 2021 · 4 comments
Assignees
Labels
enhancement New feature or request Mesh TensorFlow

Comments

@EiffL
Copy link
Member

EiffL commented Jun 4, 2021

For now, the raytracing code we have developed with @dlanzieri is based on the non-distributed version of FlowPM. I'm opening this issue to document the porting of the necessary pieces to Mesh Tensorflow.

Here is the list of things I think we need:

  • : 2D cic painting for pojecting snapshots

Things that are optional at this stage but would be nice to have

  • : 2D interpolation on distributed tensors
  • : Differentiable cosmology in the mesh nbody code
  • : Differentiable initial conditions
@EiffL EiffL added enhancement New feature or request Mesh TensorFlow labels Jun 4, 2021
@EiffL EiffL self-assigned this Jun 4, 2021
@EiffL
Copy link
Member Author

EiffL commented Jun 4, 2021

Ok, I've started working in branch mesh_lensing and I've got the distributed 2d cic painting working :-)
image

I am building a lensing script here: https://github.com/DifferentiableUniverseInitiative/flowpm/blob/mesh_lensing/scripts/pyramid_lensing.py

so, this all looks very feasible.... if all goes well, we'll have lensing capabilities by end of saturday

@EiffL
Copy link
Member Author

EiffL commented Jun 5, 2021

almost there:

image

with the following settiings:
nc=512
box_size=100
field_size=5x5deg
field_npix=1024

@dlanzieri
Copy link
Collaborator

It's great! :O

@dlanzieri
Copy link
Collaborator

@EiffL By the way, I have some questions related to the differentiable initial conditions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Mesh TensorFlow
Projects
None yet
Development

No branches or pull requests

2 participants