File tree Expand file tree Collapse file tree 3 files changed +26
-14
lines changed Expand file tree Collapse file tree 3 files changed +26
-14
lines changed Original file line number Diff line number Diff line change
1
+ **Added: **
2
+
3
+ * polynomial interpolation as the default method for cve computation.
4
+
5
+ **Changed: **
6
+
7
+ * <news item>
8
+
9
+ **Deprecated: **
10
+
11
+ * <news item>
12
+
13
+ **Removed: **
14
+
15
+ * <news item>
16
+
17
+ **Fixed: **
18
+
19
+ * <news item>
20
+
21
+ **Security: **
22
+
23
+ * <news item>
Original file line number Diff line number Diff line change @@ -38,16 +38,6 @@ def _get_grid_points(self):
38
38
self .grid = {(x , y ) for x in xs for y in ys if x ** 2 + y ** 2 <= self .radius ** 2 }
39
39
self .total_points_in_grid = len (self .grid )
40
40
41
- # def get_coordinate_index(self, coordinate): # I think we probably dont need this function?
42
- # count = 0
43
- # for i, target in enumerate(self.grid):
44
- # if coordinate == target:
45
- # return i
46
- # else:
47
- # count += 1
48
- # if count >= len(self.grid):
49
- # raise IndexError(f"WARNING: no coordinate {coordinate} found in coordinates list")
50
-
51
41
def set_distances_at_angle (self , angle ):
52
42
"""
53
43
given an angle, set the distances from the grid points to the entry and exit coordinates
Original file line number Diff line number Diff line change @@ -110,13 +110,12 @@ def set_wavelength(args):
110
110
args argparse.Namespace
111
111
the arguments from the parser
112
112
113
+ we raise a ValueError if the input wavelength is non-positive
114
+ or if the input anode_type is not one of the known sources
115
+
113
116
Returns
114
117
-------
115
118
args argparse.Namespace
116
-
117
- we raise an ValueError if the input wavelength is non-positive
118
- or if the input anode_type is not one of the known sources
119
-
120
119
"""
121
120
if args .wavelength is not None and args .wavelength <= 0 :
122
121
raise ValueError (
You can’t perform that action at this time.
0 commit comments