Skip to content
Snippets Groups Projects
Commit 99be0e05 authored by Savici, Andrei T.'s avatar Savici, Andrei T.
Browse files

Merge remote-tracking branch 'origin/feature/8903_sassenafft_temp_enable'

parents 17d8683a e7ee0618
No related branches found
No related tags found
No related merge requests found
......@@ -27,6 +27,7 @@ Below are plots after application of SassenaFFT to <math>I(Q,t) = e^{-t^2/(2\sig
//----------------------------------------------------------------------
#include "MantidAlgorithms/SassenaFFT.h"
#include "MantidKernel/VisibleWhenProperty.h"
#include "MantidKernel/EnabledWhenProperty.h"
#include "MantidKernel/UnitFactory.h"
#include "MantidDataObjects/Workspace2D.h"
#include "MantidAPI/WorkspaceGroup.h"
......@@ -72,7 +73,7 @@ void SassenaFFT::init()
this->declareProperty(new Kernel::PropertyWithValue<bool>("FFTonlyRealPart", false, Kernel::Direction::Input),"Do we FFT only the real part of I(Q,t)? (optional, default is False)");
this->declareProperty(new Kernel::PropertyWithValue<bool>("DetailedBalance", false, Kernel::Direction::Input),"Do we apply detailed balance condition? (optional, default is False)");
this->declareProperty("Temp",300.0,"Multiply structure factor by exp(E/(2*kT)");
this->setPropertySettings("Temp", new Kernel::VisibleWhenProperty("Detailed Balance", Kernel::IS_EQUAL_TO, "1"));
this->setPropertySettings("Temp", new Kernel::EnabledWhenProperty("DetailedBalance", Kernel::IS_EQUAL_TO, "1"));
}
/// Execute the algorithm
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment