Determination of Spectral and Mode Properties of Nanophotonic Cavities Based on Silicon and Silicon Nitride | Synapse