88The script have been modified by Smauel Garcia ([email protected] ): 99 * more pytonic
1010 * improve code readability
11- * not more channel_device_index the order is the conatct index
11+ * not more channel_device_index the order is the contact index
1212 * simpler function for plotting.
1313
14142021-04-02
7272
7373def convert_probe_shape (listCoord ):
7474 '''
75- This is to convert reference point probe shape inputed in excel
75+ This is to convert reference point probe shape inputted in excel
7676 as string 'x y x y x y that outline the shape of one shanck
7777 and can be converted to an array to draw the porbe
7878 '''
@@ -95,7 +95,7 @@ def get_contact_order(connector, probe_type):
9595 This will help to re-order the probe contact later on.
9696 """
9797
98- # first part of the function to opne the proper connector based on connector name
98+ # first part of the function to open the proper connector based on connector name
9999
100100 # header [0,1] is used to create a mutliindex
101101 df = pd .read_excel (probe_map_file , sheet_name = connector , header = [0 ,1 ])
@@ -188,7 +188,7 @@ def generate_CN_multi_shank(probe_info):
188188
189189def create_CN_figure (probe_name , probe ):
190190 """
191- Create custum figire for CN with custum colors + logo
191+ Create custom figire for CN with custom colors + logo
192192 """
193193 fig , ax = plt .subplots ()
194194 fig .set_size_inches (18.5 , 10.5 )
0 commit comments