Package ffx.xray.parsers
Interface DiffractionFileFilter
public interface DiffractionFileFilter
DiffractionFileFilter interface.
- Since:
- 1.0
- Author:
- Timothy D. Fenn
-
Method Summary
Modifier and TypeMethodDescriptiongetReflectionList
(File file) Get reflection information from a reflection file.getReflectionList
(File file, org.apache.commons.configuration2.CompositeConfiguration properties) Get reflection information from a reflection file.double
getResolution
(File file, Crystal crystal) Attempt to determine resolution of reflection file.boolean
readFile
(File file, ReflectionList reflectionList, DiffractionRefinementData refinementData, org.apache.commons.configuration2.CompositeConfiguration properties) Read in reflection file.
-
Method Details
-
getReflectionList
Get reflection information from a reflection file.- Parameters:
file
- File to read in.- Returns:
- The
ReflectionList
, or null if not enough information present in the reflection file.
-
getReflectionList
ReflectionList getReflectionList(File file, org.apache.commons.configuration2.CompositeConfiguration properties) Get reflection information from a reflection file.- Parameters:
file
- File to read in.properties
- System properties.- Returns:
- The
ReflectionList
, or null if not enough information present in the reflection file.
-
getResolution
Attempt to determine resolution of reflection file.- Parameters:
file
- File to read in.crystal
- Crystal system to determine resolution information from.- Returns:
- The resolution.
-
readFile
boolean readFile(File file, ReflectionList reflectionList, DiffractionRefinementData refinementData, org.apache.commons.configuration2.CompositeConfiguration properties) Read in reflection file.- Parameters:
file
- File to read in.reflectionList
- TheReflectionList
to find data indices.refinementData
- TheDiffractionRefinementData
object to fill in.properties
- System properties.- Returns:
- True if read in properly.
-