Put utils in their own folder. Increases organization, and everything will be available under SimPEG.utils

NOTE: if you add a new function (or file), you must register it in __init__.py for it to be available under:

e.g.
...
from utils import mkvc, …
...
from MYNEWFILE import MYNEWFUNCTION
This commit is contained in:
Rowan Cockett
2013-08-09 17:30:57 -07:00
parent 859319d300
commit b0760f577f
11 changed files with 258 additions and 258 deletions
+1 -2
View File
@@ -1,7 +1,6 @@
import numpy as np
from scipy import sparse as sp
from sputils import sdiag, speye, kron3, spzeros
from utils import mkvc
from utils import mkvc, sdiag, speye, kron3, spzeros
def ddx(n):