def x(mismip_mode, N=None): if mismip_mode in (1, 2): return np.linspace(-MISMIP.L(), MISMIP.L(), 2 * MISMIP.N(mismip_mode) + 1) return np.linspace(-MISMIP.L(), MISMIP.L(), N)
def x(N=None): return np.linspace(0, MISMIP.L(), N)
def x(mismip_mode, N=None): if mismip_mode in (1, 2): return np.linspace(-MISMIP.L(), MISMIP.L(), 2 * MISMIP.N(mismip_mode) + 1) return np.linspace(-MISMIP.L(), MISMIP.L(), N)
def x(N=None): return np.linspace(0, MISMIP.L(), N)