experimental_conductances Documentation
- memristor_crossbar.experimental_conductances.load_conductance_data(file_path, skip_rows=1, separator=',', column_names=['Conductance (S)'])[source][source]
Load and process conductance data from a specified CSV or .dat file.
- Parameters:
file_path (str) – The path to the CSV or .dat file containing the conductance data.
skip_rows (int, optional) – The number of rows to skip when reading the file. Default is 1.
separator (str, optional) – The delimiter used in the file. Default is ‘,’.
column_names (list of str, optional) – A list of column names to assign to the data. Default is [“Conductance (S)”].
- Returns:
An array containing the conductance values read from the file.
- Return type:
np.ndarray