PoreAna 0.2
  • API
  • Sample
  • Density
  • Diffusion (Bin)
  • Diffusion (MC)
  • Further Properties
  • Site
    • Page
        • StepModel._create_basis_border
          • StepModel._create_basis_border()
    • StepModel._create_basis_border
      • StepModel._create_basis_border()
    Source

    StepModel._create_basis_border¶

    StepModel._create_basis_border()¶

    This function creates the basis part in every bin of the Step model for the diffusion profile. The dimension of the basis matrix is \(n_{bin} \times n_{diff}\). At the bin border the basis is calculated with

    \[\begin{split}\mathrm{basis} = \begin{cases} 1 & (\mathrm{bin}+1)\geq \Delta x\ \& \ (\mathrm{bin}+1)\leq n_{\mathrm{bin}}-\Delta x \\ 0 & \mathrm{else} \ \end{cases}\end{split}\]

    hereby is \(bin = [0,...,n_{\mathrm{bin}}]\) with \(n_{\mathrm{bin}}\) as the number of the bins. The variable \(\Delta x\) is define by

    \[\Delta x = \left [ 0,i \cdot \frac{n_{\mathrm{bin}}}{n_{\mathrm{diff}} \cdot 2},\frac{n_{\mathrm{bin}}}{2} \right ]\]

    with \(i = [1,...,n_{\mathrm{diff}}-1]\).

    Back to top

    © Copyright 2021, Hamzeh Kraus.
    Created using Sphinx 7.4.6.