This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class PromiseSimple { | |
constructor(executionFunction) { | |
this.promiseChain = []; | |
this.handleError = () => {}; | |
this.onResolve = this.onResolve.bind(this); | |
this.onReject = this.onReject.bind(this); | |
// executing this function either calls this.onResolve | |
// or this.onReject |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
classdef Psd | |
properties (Constant) | |
% Energy (Power/Freq) units useful for ZEMAX | |
A_A_um = 1e-10*1e-10*1e-6; | |
nm_nm_mm = 1e-9*1e-9*1e-3; | |
end | |