Skip to content

Commit

Permalink
rm unnecessary key
Browse files Browse the repository at this point in the history
  • Loading branch information
gituser789 committed Sep 3, 2024
1 parent 4f69c89 commit 45936df
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions femmt/optimization/sto.py
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ class FemSimulation:

@staticmethod
def fem_simulations_from_reluctance_df(reluctance_df: pd.DataFrame, config: StoSingleInputConfig, show_visual_outputs: bool = False,
process_number: int = 1, current_waveforms_csv_file: str = None):
process_number: int = 1):
"""
Perform FEM simulations from a given Pandas dataframe. The dataframe is from the reluctance model results.
Expand All @@ -534,8 +534,6 @@ def fem_simulations_from_reluctance_df(reluctance_df: pd.DataFrame, config: StoS
:type show_visual_outputs: bool
:param process_number: Process number for parallel simulations on multiple cpu cores
:type process_number: int
:param current_waveforms_csv_file: csv file containing the current waveforms
:type current_waveforms_csv_file: str
"""
target_and_fix_parameters = StackedTransformerOptimization.ReluctanceModel.calculate_fix_parameters(config)

Expand All @@ -547,7 +545,7 @@ def fem_simulations_from_reluctance_df(reluctance_df: pd.DataFrame, config: StoS

time_current_vectors = np.array([config.time_current_1_vec, config.time_current_2_vec])

pd.read_csv(current_waveforms_csv_file, header=0, index_col=0, delimiter=';')
# pd.read_csv(current_waveforms_csv_file, header=0, index_col=0, delimiter=';')

for index, _ in reluctance_df.iterrows():

Expand Down

0 comments on commit 45936df

Please sign in to comment.