v1.0.0-rc.31
This commit is contained in:
@@ -39,16 +39,16 @@ int64_t DiffractionSpot::PixelCount() const {
|
||||
return pixel_count;
|
||||
}
|
||||
|
||||
Coord DiffractionSpot::LabCoord(const DiffractionExperiment &experiment) const {
|
||||
return experiment.LabCoord(x / (float)photons + 0.5f, y / (float)photons + 0.5f);
|
||||
Coord DiffractionSpot::LabCoord(const DiffractionGeometry &geom) const {
|
||||
return geom.LabCoord(x / (float)photons + 0.5f, y / (float)photons + 0.5f);
|
||||
}
|
||||
|
||||
Coord DiffractionSpot::ReciprocalCoord(const DiffractionExperiment &experiment) const {
|
||||
return DetectorToRecip(experiment, x / (float)photons + 0.5f, y / (float)photons + 0.5f);
|
||||
Coord DiffractionSpot::ReciprocalCoord(const DiffractionGeometry &geom) const {
|
||||
return geom.DetectorToRecip(x / (float)photons + 0.5f, y / (float)photons + 0.5f);
|
||||
}
|
||||
|
||||
double DiffractionSpot::GetResolution(const DiffractionExperiment &experiment) const {
|
||||
return PxlToRes(experiment, x / (float)photons + 0.5f, y / (float)photons + 0.5f);
|
||||
double DiffractionSpot::GetResolution(const DiffractionGeometry &geom) const {
|
||||
return geom.PxlToRes(x / (float)photons + 0.5f, y / (float)photons + 0.5f);
|
||||
}
|
||||
|
||||
DiffractionSpot::operator SpotToSave() const {
|
||||
|
||||
Reference in New Issue
Block a user