Closed ktagami closed 3 years ago
What happened: When trying to integrate a 3D file (transient, x, y) I get an error.
local variable 'indirect_coords' referenced before assignment
What you expected to happen:
Minimal Complete Verifiable Example: import dnplab as dnp import numpy as np file_name_path = "2D_Nutation.d01" ws = dnp.dnpImport.load(file_name_path) ws.values = np.abs(ws.values) dnp.dnpTools.integrate(ws,'t')
# Put your MCVE code here
Anything else we need to know?:
Environment:
@ktagami the integrate function currently doesn't handle 3D data but this can be added
What happened: When trying to integrate a 3D file (transient, x, y) I get an error.
local variable 'indirect_coords' referenced before assignment
What you expected to happen:
Minimal Complete Verifiable Example: import dnplab as dnp import numpy as np file_name_path = "2D_Nutation.d01" ws = dnp.dnpImport.load(file_name_path) ws.values = np.abs(ws.values) dnp.dnpTools.integrate(ws,'t')
Anything else we need to know?:
Environment:
Output of pip show dnplab