Skip to content

Commit

Permalink
more notes
Browse files Browse the repository at this point in the history
  • Loading branch information
tizayi committed Nov 17, 2023
1 parent 54ab67d commit feb8cdf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/calculations/numericRange.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default class NumericRange {
}
}
/**
* Returns true if a value falls inside the numeric range
* Returns true if the input value falls inside the numeric range
* @param value a number
* @returns
*/
Expand Down Expand Up @@ -68,7 +68,7 @@ export default class NumericRange {
}

/**
* Returns a
* Returns a new numeric range with the function applied elementwise
* @param func A function to apply to both the min and max of the range
* @returns A new Numeric range with the call back applied
*/
Expand Down
6 changes: 2 additions & 4 deletions src/calculations/qrange.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import { Ray } from "../calculations/ray";
import NumericRange from "./numericRange";

/**
* Compute the viable and full qranges
* @param detector
* Compute the viable and full qranges
* @param detector Detector object with data on how the detector e
* @param beamstop
* @param cameraTube
* @param beamProperties
Expand Down Expand Up @@ -92,8 +92,6 @@ export function computeQrange(
const ptMin = ray.getPoint(t1.min);
const ptMax = ray.getPoint(t1.max);

// works as intended up to here

const detProps: DetectorProperties = {
...detector,
origin: new Vector3(
Expand Down

0 comments on commit feb8cdf

Please sign in to comment.