/* * Note: Calibration folders are expected to have the format * * B<*>_T<*>_E<*>_F<*> * * Object decription * * Opening a reduction object produces list of calibration folders * that can be parsed for specific temp, filter and exposure */ public Reduction() { ccdsoftCamera tsxc = new ccdsoftCamera(); //Figure out the filter mapping //Find the filter name for the filter filter Number FilterList = Filters.FilterNameList(); int reductionGroupCount = tsxc.ReductionGroupCount; for (int g = 0; g < reductionGroupCount; g++) { string parseName = tsxc.ReductionGroupFromIndex(g); if (parseName.Contains("Group_")) { ReductionLibrary reductionLib = new ReductionLibrary(parseName); LibraryList.Add(reductionLib); } } }