Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q3 Build an equation that extracts the run parameters from the given # list of file names (stored as strings). # - Each run is

Q3 Build an equation that extracts the run parameters from the given # list of file names (stored as strings).

# - Each "run" is represented by a string. # - Your equation should take individual strings as an input. # - Your equation should return a value for alpha and a value for the # temperature. # - These values should be returned as floats. # ============================================================================= file_names = ['alpha_1.1mm_temp_220K.csv', 'alpha_1.3mm_temp_230K.csv', 'alpha_1.5mm_temp_240K.csv', 'alpha_1.3mm_temp_250K.csv', 'alpha_1.7mm_temp_260K.csv', 'alpha_1.7mm_temp_270K.csv', 'alpha_1.8mm_temp_280K.csv', 'alpha_1.9mm_temp_290K.csv', 'alpha_1.11mm_temp_300K.csv', 'alpha_1.12mm_temp_310K.csv', 'alpha_1.11mm_temp_320K.csv', 'alpha_1.13mm_temp_330K.csv', 'alpha_1.14mm_temp_340K.csv', 'alpha_1.16mm_temp_350K.csv', 'alpha_1.17mm_temp_360K.csv', 'alpha_1.19mm_temp_370K.csv']

# parse the string to get desired values as "float" type's # function name: parse_string

This is in python

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions