run_strain_map_analysis#
- Analysis.run_strain_map_analysis(project, cca_name, strain_map_analyses)#
Run one or more Sherlock strain map analyses.
- Parameters:
project (str) – Name of the Sherlock project.
cca_name (str) – Name of main CCA for the analysis.
analyses (list of (analysis_type, event_strain_maps)) –
- analysis_typestr
Type of the analysis to perform. Option is
"RANDOMVIBE".- event_strain_mapslist of (phase_name, event_name, pcb_side, strain_map, sub_assembly_name)
Strain maps assigned to the desired life cycle events for a given PCB side.
- phase_namestr
Life cycle phase name for the strain map assignment.
- event_namestr
Life cycle event name for the strain map assignment.
- pcb_sidestr
PCB side for the strain map. Options are``”TOP”`` and
"BOTTOM".- strain_mapstr
Name of the strain map assigned to the life cycle event.
- sub_assembly_namestr, optional
Name of the subassembly CCA to assign the strain map.
Examples
>>> from ansys.sherlock.core.launcher import launch_sherlock >>> sherlock = launch_sherlock() >>> analysis.run_strain_map_analysis( "AssemblyTutorial", "Main Board", [[ "RANDOMVIBE", [["Phase 1", "Random Vibe", "TOP", "MainBoardStrain - Top"], ["Phase 1", "Random Vibe", "BOTTOM", "MainBoardStrain - Bottom"], ["Phase 1", "Random Vibe", "TOP", "MemoryCard1Strain", "Memory Card 1"]], ]] )