public SourceListComparer( SourceList mdex, SourceList spitzer, float snrCutOff, Angle searchRadius, bool verbose) { Mdex = mdex ?? throw new ArgumentNullException(nameof(mdex)); Spitzer = spitzer ?? throw new ArgumentNullException(nameof(spitzer)); SourceMatchLists = new SourceMatchLists( Mdex, Spitzer, searchRadius, verbose); }
public Builder( SourceList mdex, SourceList spitzer, Angle searchRadius, double[] snrCutOffs, bool verbose, ref int status) { Mdex = mdex ?? throw new ArgumentNullException(nameof(mdex)); Spitzer = spitzer ?? throw new ArgumentNullException(nameof(spitzer)); Matches = new SourceMatchLists( mdex, spitzer, searchRadius, verbose); Status = status; status = WriteMatches(snrCutOffs); }