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

Cartesian to spherical #315

Merged
merged 2 commits into from
Jul 2, 2024
Merged

Cartesian to spherical #315

merged 2 commits into from
Jul 2, 2024

Conversation

Luthaf
Copy link
Owner

@Luthaf Luthaf commented Jun 27, 2024

This PR implements a function to transform a TensorMap from cartesian product basis to a spherical basis.

Still TBD:

  • spherical_to_cartesian, the inverse of this function
  • Some example using this function and DensityCorrelation to build a Lambda-SOAP model (maybe for a future PR)

📚 Documentation preview 📚: https://rascaline--315.org.readthedocs.build/en/315/

@Luthaf Luthaf requested a review from jwa7 June 27, 2024 15:55
Copy link

github-actions bot commented Jun 27, 2024

Here is a pre-built version of the code in this pull request: wheels.zip, you can install it locally by unzipping wheels.zip and using pip to install the file matching your system

@Luthaf Luthaf force-pushed the cartesian-to-spherical branch 2 times, most recently from 274dd0a to 97dab17 Compare June 27, 2024 16:18
Copy link
Collaborator

@jwa7 jwa7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! As discussed, perhaps a few more comments describing minor details for the unfamiliar eye would be useful :)

@Luthaf
Copy link
Owner Author

Luthaf commented Jul 2, 2024

I've added some more comments, let me know if this is clearer now!

Copy link
Collaborator

@jwa7 jwa7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks!

Re: your original summary:

  1. Do you want to leave the inverse operation to another PR?
  2. Perhaps the example makes sense to be part of the PR that implements a lambda-SOAP wrapper of DensityCorrelations?

@Luthaf
Copy link
Owner Author

Luthaf commented Jul 2, 2024

Let's merge this, I'm working on the next steps but I can send them as separate PR.

@Luthaf Luthaf merged commit e215461 into master Jul 2, 2024
25 checks passed
@Luthaf Luthaf deleted the cartesian-to-spherical branch July 2, 2024 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants