vsoch / gridtest

grid parameters and testing for Python modules and functions
https://vsoch.github.io/gridtest/
Mozilla Public License 2.0
2 stars 1 forks source link

redo examples, docs with global grids #18

Closed vsoch closed 4 years ago

vsoch commented 4 years ago

e.g.

  grids:

    # This is a grid for the schrodinger class, but without extra examples
    schrodinger_inputs:
      args:
        m: 1.9
        N: [512, 2048, 4096] # If you wanted a list [[one, two, three], [one, two three]]
        dx: 1.5
        V0: 1.5
      functions:
        V_x: schrodinger_helpers.generate_V_x
        x: schrodinger_helpers.generate_x
        psi_x0: schrodinger_helpers.generate_psi_x0