Published November 16, 2026 | Version v1

Supporting Data and Code for the manuscript "Deterministic nonlinear domain engineering algorithm with variable sub-coherence-length domains"

  • 1. ROR icon Universität Innsbruck
  • 2. ROR icon University of Waterloo
  • 3. University of Innsbruck

Description

Supporting Data and Code for the manuscript “Deterministic nonlinear domain engineering algorithm with variable sub-coherence-length domains”

by Michael Schlosser, Tommaso Faleo, Gregor Weihs, Robert Keil and Stefan Frick


OVERVIEW

This repository contains the complete dataset and code supporting the experimental results and algorithm presented in “Deterministic nonlinear domain engineering algorithm with variable sub-coherence-length domains”.

Refer to the manuscript for a detailed discussion of the experiment and the algorithm.

 

Data: data.zip includes:

  • Algorithm_Comparison  Data to compare our new algorithm to the one of Graffitti et al. (2017), in: algorithm_comparison_data.csv
  • Spectra   Spectrum of the down-converted signal/idler photons using a grating spectrometer.
  • Poling Structures  For the used chirped Gaussian design that is designed, manufactured, and tested as described in the publication: used_poling_pattern_chripedGauss.csv And, for the same parameters, the design obtained using the demodulated approach:Demodulated_Poling.csv. This design is only compared in simulation to the default design, as it was not manufactured.
    • File structure:
        - First column: Sign (orientation) of the crystal domain.
        - Second column: Starting position of the domains, in µm.
        - Third column: Ending position of the domains, in µm.
  • JSA  
      Simulated Joint Spectral Amplitudes and Phase-Matching Function for a plane wave propagated through the crystal with a structure given in: poling_structures

 

Code: apyriodic-poling-public-main.zip includes:

Snapshot of an implementation of the new algorithm in Python. This is only a snapshot of the 1.0 version published on 16.11.2026. An up-to-date version is available at https://git.uibk.ac.at/c7041192/apyriodic-poling-public

  • README.md  Detailed documentation of the code.
  • polingConfig.py  Defines user-editable design, fabrication, target, refinement, and output settings.
  • targetFunctions.py  Supplies built-in spatial target profiles and their analytic ideal spectra.
  • calculatePoling.py  Greedily generates the constrained domain-poling pattern, optionally demodulated, invokes refinement, and saves/plots results.
  • minimalPoling.py  A compact educational implementation of ordinary greedy tracking.
  • refinePoling.py  Evaluates physical phase-matching functions and locally optimizes domain-wall positions under fabrication constraints.
  • tests/  Analytic checks and reference structures. The tests compare profile integrals with independent analytic expressions, numerical tables with adaptive quadrature, and Python with compiled tracking. Ideal Gaussian-family spectra are checked against whole-line quadrature, and the rectangular spectrum by inverse integration against its spatial sinc. Refinement tests check that built-in targets use these analytical spectra with the prescribed amplitude and phase, that the seed is kept, and that the removed `targetReference` option fails with a clear message. The tests also cover the phase-selection rules, geometry, final-field accounting and file output. The 30 mm OCT example reproduces all 3,619 reference domains exactly;
  • auxiliary_scripts/ contains optional validation and supporting analysis utilities rather than code required for a normal design run.
        - Notebooks for the analytical calculation of common PMFs (.nb files)
        - Script to find coherence lengths for SPDC (finding_config_parameters.ipynb)
        - Program for poling structure verification (verification.c) (used to simulate the JSAs in the data/jsa folder)
        - refinement validation in validate_refinement.py, see refinement_validation.md

Files

data.zip

Files (197.2 MB)

Name Size
md5:f708ab8825f9f1d49fbbef830e1b28fc
1.2 MB Preview Download
md5:f17ddee46afcf90b85b69281ca0b46f5
196.0 MB Preview Download
md5:34218f204bc20990403e746e9ab9d962
3.9 kB Preview Download