pyInclude.calcPhiASE

pyInclude.calcPhiASE(points, trianglePointIndices, betaCells, betaVolume, claddingCellTypes, claddingNumber, claddingAbsorption, useReflections, refractiveIndices, reflectivities, triangleNormalsX, triangleNormalsY, triangleNeighbors, triangleSurfaces, triangleCenterX, triangleCenterY, triangleNormalPoint, forbiddenEdge, minRaysPerSample, maxRaysPerSample, mseThreshold, repetitions, nTot, thickness, laserParameter, crystal, numberOfLevels, backend, parallelMode, numDevices, adaptiveSteps, nPerNode=1, minSampleRange=0, maxSampleRange=None)

Run ASE using the historical direct Python signature.

points may be flat or (numberOfPoints, 2). trianglePointIndices may be flat or (numberOfTriangles, 3). betaCells represents point-level excited-state fraction, while betaVolume represents prism-centered beta used by ray tracing. The modern PhiASE wrapper builds these arguments from GainMedium automatically.