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

Transformed cube (#15) #96

Open
wants to merge 45 commits into
base: master
Choose a base branch
from

Commits on May 29, 2020

  1. Add coordinate promolecular transformation (theochem#15)

    Added the transformation from real space to unit cube
    using the Promolecular density function of a single
    coordinate.
    Added the inverse transformation from unit-cube to
    real space using a root-solver of a single coordinate.
    Ali-Tehrani committed May 29, 2020
    Configuration menu
    Copy the full SHA
    87626d2 View commit details
    Browse the repository at this point in the history
  2. Add promol cubic class and grid transform (theochem#15)

    * Promolecular Cubic Grid Transformation is added.
    * Bracket initalization is added as private func.
    * Padding multiple arrays with zeros is added st have array size.
    * Full Grid transformation from unit-cube to real space.
    Ali-Tehrani committed May 29, 2020
    Configuration menu
    Copy the full SHA
    fbe5355 View commit details
    Browse the repository at this point in the history
  3. Add promolecular density evaluation (theochem#15)

    Need this for integration
    Ali-Tehrani committed May 29, 2020
    Configuration menu
    Copy the full SHA
    8b1e12b View commit details
    Browse the repository at this point in the history
  4. Add integration method to promol transform (theochem#15)

    Also added the promolecular trick.
    Ali-Tehrani committed May 29, 2020
    Configuration menu
    Copy the full SHA
    815096e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    42efb07 View commit details
    Browse the repository at this point in the history
  6. Fix black complaints

    Ali-Tehrani committed May 29, 2020
    Configuration menu
    Copy the full SHA
    aebc519 View commit details
    Browse the repository at this point in the history

Commits on May 31, 2020

  1. Configuration menu
    Copy the full SHA
    8e37b8c View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2020

  1. Configuration menu
    Copy the full SHA
    775466f View commit details
    Browse the repository at this point in the history
  2. Add jacobian and steepest ascent to promol transf

    Follows changes were made
    - Added and Fixed docuentation.
    - Added jacobian of transformation
    - Added steepest-ascent
    - Added utility to transform individual points
    Ali-Tehrani committed Jun 12, 2020
    Configuration menu
    Copy the full SHA
    a79ee45 View commit details
    Browse the repository at this point in the history
  3. Fix black issue

    Ali-Tehrani committed Jun 12, 2020
    Configuration menu
    Copy the full SHA
    809f68c View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2020

  1. Add promolecular density dataclass

    Private data class that holds the coefficients, exponents, dimensions
    and compute its density.
    Ali-Tehrani committed Jun 17, 2020
    Configuration menu
    Copy the full SHA
    50f9a73 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ad01358 View commit details
    Browse the repository at this point in the history
  3. Remove helper function in inverse_coordinate

    From code review, it was not necessary.
    Ali-Tehrani committed Jun 17, 2020
    Configuration menu
    Copy the full SHA
    11b603a View commit details
    Browse the repository at this point in the history
  4. Change stepsize to number of points for input

    Providing number of points seems more natural than
    providing the stepsize for Promolecular
    Cubic, Uniform Grid Transformation.
    Ali-Tehrani committed Jun 17, 2020
    Configuration menu
    Copy the full SHA
    239858b View commit details
    Browse the repository at this point in the history
  5. Add mask to small/nan values for integrate promol

    Code review suggestion to use masked arrays
    for boundary points and small values of promolecular
    with a user-defined tolerance.
    Ali-Tehrani committed Jun 17, 2020
    Configuration menu
    Copy the full SHA
    eb32897 View commit details
    Browse the repository at this point in the history
  6. Rename coords to indices

    Ali-Tehrani committed Jun 17, 2020
    Configuration menu
    Copy the full SHA
    40a0487 View commit details
    Browse the repository at this point in the history
  7. Add dynamic bracketing method to root eqn

    Suggested in code review, able to handle
    insufficient brackets.
    Ali-Tehrani committed Jun 17, 2020
    Configuration menu
    Copy the full SHA
    b8fc2b2 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2020

  1. Add cubic grid support for protransform

    Cubic grid is a tensor product of one-dimensional grids.
    Promolecular transform is modeled on a cubic grid.
    Ali-Tehrani committed Jun 20, 2020
    Configuration menu
    Copy the full SHA
    c104ac6 View commit details
    Browse the repository at this point in the history
  2. Change default [0, 1] to [-1, 1] for Promolecular

    Since the bounds [-1, 1] is used in onedgrids.py,
    the default bounds is changed to be consistent.
    Ali-Tehrani committed Jun 20, 2020
    Configuration menu
    Copy the full SHA
    a35a07e View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2020

  1. Add integration test for promolecular transform

    Since cubic grids are not supported, I tested
    integration with GaussChebslev oned grid.
    Ali-Tehrani committed Jun 21, 2020
    Configuration menu
    Copy the full SHA
    ab7cd82 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2020

  1. Configuration menu
    Copy the full SHA
    9e73400 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2020

  1. Add hessian and interpolation to grid transform

    Added
    - convert index to indices to grid transform
    - convert indices to index to grid transform
    - interpolation and its derivative
    - hessian
    Ali-Tehrani committed Jul 6, 2020
    Configuration menu
    Copy the full SHA
    8727c0a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f21aa78 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2020

  1. Configuration menu
    Copy the full SHA
    a6f0a96 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2020

  1. Update setup.py to use dataclass in 3.6

    dataclass is included in python3.7.
    Acknowledgement to Derrick
    Ali-Tehrani committed Aug 5, 2020
    Configuration menu
    Copy the full SHA
    4d56f35 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    187c00e View commit details
    Browse the repository at this point in the history
  3. Add parameter to doc of interpolation

    Also removed an if statement that
    wasnt really needed and to improve coverage
    Ali-Tehrani committed Aug 5, 2020
    Configuration menu
    Copy the full SHA
    7d420e4 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2023

  1. Configuration menu
    Copy the full SHA
    1f4a0e7 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2023

  1. Rename interpolation

    Ali-Tehrani committed May 15, 2023
    Configuration menu
    Copy the full SHA
    fd69714 View commit details
    Browse the repository at this point in the history
  2. Group pytest parameterize test in protrans

    - Makes it easier for viewing and generalizes some
    test to work over a wider range of points
    Ali-Tehrani committed May 15, 2023
    Configuration menu
    Copy the full SHA
    012f52b View commit details
    Browse the repository at this point in the history
  3. Generalize Promol For HyperRectangle class

    - Makes it consistent for the cubic grid class
    Ali-Tehrani committed May 15, 2023
    Configuration menu
    Copy the full SHA
    717649d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9fc1a13 View commit details
    Browse the repository at this point in the history
  5. Change np.nan to infinity

    Ali-Tehrani committed May 15, 2023
    Configuration menu
    Copy the full SHA
    a5c9f8a View commit details
    Browse the repository at this point in the history
  6. Fix interpolate in cubic to not include boundary

    Useful for promolecular transformation
    Ali-Tehrani committed May 15, 2023
    Configuration menu
    Copy the full SHA
    a6e60ba View commit details
    Browse the repository at this point in the history

Commits on May 16, 2023

  1. Add grid_pts option to interpolate

    - Useful for promolecular transform where the grid to interpolate
      is different
    - Make inteprolate its own function due to problems with
      sub-classing in python
    Ali-Tehrani committed May 16, 2023
    Configuration menu
    Copy the full SHA
    53fa689 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fa43c9d View commit details
    Browse the repository at this point in the history
  3. Add cut-off for promolecular transform

    - Needed to say a point is on the boundary
    Ali-Tehrani committed May 16, 2023
    Configuration menu
    Copy the full SHA
    0d75416 View commit details
    Browse the repository at this point in the history
  4. Add lower and upper bound to promolecular

    - Increases generality
    Ali-Tehrani committed May 16, 2023
    Configuration menu
    Copy the full SHA
    3a48432 View commit details
    Browse the repository at this point in the history
  5. Update interpolation in promolecular transform

    - Matches the HyperRectangle class
    Ali-Tehrani committed May 16, 2023
    Configuration menu
    Copy the full SHA
    d52ec8b View commit details
    Browse the repository at this point in the history
  6. Add error raise if couldn't solve for inverse

    - For promolecular transform
    Ali-Tehrani committed May 16, 2023
    Configuration menu
    Copy the full SHA
    adacc37 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    791fb4a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7cf98c5 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    a9f2a85 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    cc4625e View commit details
    Browse the repository at this point in the history
  11. Merge branch 'transformed_cube' of https://github.com/Ali-Tehrani/grid

    …into transformed_cube
    Ali-Tehrani committed May 16, 2023
    Configuration menu
    Copy the full SHA
    435577e View commit details
    Browse the repository at this point in the history