Package ffx.xray.parsers
Class DiffractionFile
java.lang.Object
ffx.xray.parsers.DiffractionFile
DiffractionFile class.
- Since:
- 1.0
- Author:
- Timothy D. Fenn
-
Constructor Summary
ConstructorDescriptionDiffractionFile
(MolecularAssembly assembly) read in a diffraction file based on the molecular assembly fileName, using a weight of 1.0 and neutron value of falseDiffractionFile
(MolecularAssembly[] assembly) read in a diffraction file based on the molecular assembly fileName, using a weight of 1.0 and neutron value of falseDiffractionFile
(MolecularAssembly[] assembly, double weight) Constructor for DiffractionFile.DiffractionFile
(MolecularAssembly[] assembly, double weight, boolean neutron) Constructor for DiffractionFile.DiffractionFile
(MolecularAssembly assembly, double weight) read in a diffraction file based on the molecular assembly fileName, using a neutron value of falseDiffractionFile
(MolecularAssembly assembly, double weight, boolean neutron) read in a diffraction file based on the molecular assembly fileName, using a weight of 1.0 and neutron value of falseDiffractionFile
(String filename) read in a diffraction file, weight set to 1.0 and neutron value of falseDiffractionFile
(String filename, double weight) read in a diffraction file, neutron value set to falseDiffractionFile
(String filename, double weight, boolean neutron) read in a diffraction file -
Method Summary
Modifier and TypeMethodDescriptiongetDiffractionfilter.getFilename.double
return the weight of this datasetboolean
is this a neutron dataset?
-
Constructor Details
-
DiffractionFile
read in a diffraction file, weight set to 1.0 and neutron value of false- Parameters:
filename
- file name to read in
-
DiffractionFile
read in a diffraction file, neutron value set to false- Parameters:
filename
- file name to read inweight
- the weight of the data
-
DiffractionFile
read in a diffraction file- Parameters:
filename
- file name to read inweight
- the weight of the dataneutron
- if true, this is a neutron data set
-
DiffractionFile
read in a diffraction file based on the molecular assembly fileName, using a weight of 1.0 and neutron value of false- Parameters:
assembly
-MolecularAssembly
from which a fileName will be determined
-
DiffractionFile
Constructor for DiffractionFile.- Parameters:
assembly
- an array ofMolecularAssembly
objects.weight
- a double.
-
DiffractionFile
Constructor for DiffractionFile.- Parameters:
assembly
- an array ofMolecularAssembly
objects.weight
- a double.neutron
- a boolean.
-
DiffractionFile
read in a diffraction file based on the molecular assembly fileName, using a weight of 1.0 and neutron value of false- Parameters:
assembly
-MolecularAssembly
from which a fileName will be determined
-
DiffractionFile
read in a diffraction file based on the molecular assembly fileName, using a neutron value of false- Parameters:
assembly
-MolecularAssembly
from which a fileName will be determinedweight
- the weight of the data
-
DiffractionFile
read in a diffraction file based on the molecular assembly fileName, using a weight of 1.0 and neutron value of false- Parameters:
assembly
-MolecularAssembly
from which a fileName will be determinedweight
- the weight of the dataneutron
- if true, this is a neutron data set
-
-
Method Details
-
getDiffractionfilter
getDiffractionfilter.- Returns:
- the diffractionFilter
-
getFilename
getFilename.- Returns:
- the fileName
-
getWeight
public double getWeight()return the weight of this dataset- Returns:
- weight wA
-
isNeutron
public boolean isNeutron()is this a neutron dataset?- Returns:
- true if neutron
-