Permalink
Browse files

Remove some default arrays that are read. (#875)

These were removed so that the DREAM.3D generated HDF5 files from BCF could also
be read using the Import Bruker Esprit HDF5 filter.

Signed-off-by: Michael Jackson <mike.jackson@bluequartz.net>
  • Loading branch information...
imikejackson committed Feb 4, 2019
1 parent ee55d76 commit b620942d5f2ab8f759a6413a887e02bf62801b33
@@ -92,21 +92,21 @@ const QString Setting("Setting");
const QString SpaceGroup("SpaceGroup");

// Data Section for EBSD Data
const QString DD("DD");
// const QString DD("DD");
const QString MAD("MAD");
const QString MADPhase("MADPhase");
// const QString MADPhase("MADPhase");
const QString NIndexedBands("NIndexedBands");
const QString PCX("PCX");
const QString PCY("PCY");
// const QString PCX("PCX");
// const QString PCY("PCY");
const QString PHI("PHI");
const QString Phase("Phase");
const QString RadonBandCount("RadonBandCount");
const QString RadonQuality("RadonQuality");
const QString RawPatterns("RawPatterns");
const QString XBEAM("X BEAM");
const QString YBEAM("Y BEAM");
const QString XSAMPLE("X SAMPLE");
const QString YSAMPLE("Y SAMPLE");
// const QString XSAMPLE("X SAMPLE");
// const QString YSAMPLE("Y SAMPLE");
const QString phi1("phi1");
const QString phi2("phi2");

@@ -50,21 +50,21 @@ H5EspritFields::~H5EspritFields() = default;
QVector<QString> H5EspritFields::getFieldNames()
{
QVector<QString> features;
features.push_back(Ebsd::H5Esprit::DD);
// features.push_back(Ebsd::H5Esprit::DD);
features.push_back(Ebsd::H5Esprit::MAD);
features.push_back(Ebsd::H5Esprit::MADPhase);
// features.push_back(Ebsd::H5Esprit::MADPhase);
features.push_back(Ebsd::H5Esprit::NIndexedBands);
features.push_back(Ebsd::H5Esprit::PCX);
features.push_back(Ebsd::H5Esprit::PCY);
// features.push_back(Ebsd::H5Esprit::PCX);
// features.push_back(Ebsd::H5Esprit::PCY);
features.push_back(Ebsd::H5Esprit::PHI);
features.push_back(Ebsd::H5Esprit::Phase);
features.push_back(Ebsd::H5Esprit::RadonBandCount);
features.push_back(Ebsd::H5Esprit::RadonQuality);
features.push_back(Ebsd::H5Esprit::RawPatterns);
features.push_back(Ebsd::H5Esprit::XBEAM);
features.push_back(Ebsd::H5Esprit::YBEAM);
features.push_back(Ebsd::H5Esprit::XSAMPLE);
features.push_back(Ebsd::H5Esprit::YSAMPLE);
// features.push_back(Ebsd::H5Esprit::XSAMPLE);
// features.push_back(Ebsd::H5Esprit::YSAMPLE);
features.push_back(Ebsd::H5Esprit::phi1);
features.push_back(Ebsd::H5Esprit::phi2);
return features;
@@ -62,21 +62,21 @@ class EbsdLib_EXPORT H5EspritFields : public AbstractEbsdFields
template <typename T> T getFilterFeatures()
{
T features;
features.push_back(Ebsd::H5Esprit::DD);
// features.push_back(Ebsd::H5Esprit::DD);
features.push_back(Ebsd::H5Esprit::MAD);
features.push_back(Ebsd::H5Esprit::MADPhase);
// features.push_back(Ebsd::H5Esprit::MADPhase);
features.push_back(Ebsd::H5Esprit::NIndexedBands);
features.push_back(Ebsd::H5Esprit::PCX);
features.push_back(Ebsd::H5Esprit::PCY);
// features.push_back(Ebsd::H5Esprit::PCX);
// features.push_back(Ebsd::H5Esprit::PCY);
features.push_back(Ebsd::H5Esprit::PHI);
features.push_back(Ebsd::H5Esprit::Phase);
features.push_back(Ebsd::H5Esprit::RadonBandCount);
features.push_back(Ebsd::H5Esprit::RadonQuality);
features.push_back(Ebsd::H5Esprit::RawPatterns);
features.push_back(Ebsd::H5Esprit::XBEAM);
features.push_back(Ebsd::H5Esprit::YBEAM);
features.push_back(Ebsd::H5Esprit::XSAMPLE);
features.push_back(Ebsd::H5Esprit::YSAMPLE);
// features.push_back(Ebsd::H5Esprit::XSAMPLE);
// features.push_back(Ebsd::H5Esprit::YSAMPLE);
features.push_back(Ebsd::H5Esprit::phi1);
features.push_back(Ebsd::H5Esprit::phi2);
return features;
Oops, something went wrong.

0 comments on commit b620942

Please sign in to comment.