sadickam commited on
Commit
78c2bf0
·
verified ·
1 Parent(s): 8f6f24f

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -14
app.py CHANGED
@@ -335,9 +335,9 @@ def display_instructions():
335
  st.info("After reading the instructions, get your input data ready and proceed to the next step.")
336
 
337
  def display_initial_data_entry():
338
- st.write('''## Initial Data Entry
339
 
340
- The primary objective here is to provide all the initial input data needed to start RT60 analysis.
341
  See the 'Instructions' on the left for formatting information''')
342
 
343
  st.write("#### Upload current reverberation times")
@@ -389,9 +389,9 @@ def display_initial_data_entry():
389
  st.warning("Please ensure all input data has been provided correctly before proceeding.")
390
 
391
  def display_initial_rt60_compliance_check():
392
- st.write('''## Initial RT60 Compliance Check
393
-
394
- The aim of initial compliance check is to compare the current RT60 values to the
395
  standard RT60 range. For the purpose of this tool, compliance is achieved if RT60 values for all frequencies are
396
  within the standard range. The graph at the bottom of this page would assist you in verifying compliance.
397
  If at least one frequency is not in the range, you would need to apply some acoustic treatment. See the
@@ -469,9 +469,9 @@ def display_initial_rt60_compliance_check():
469
  st.warning("Please provide the current reverberation times and existing materials data before proceeding.")
470
 
471
  def display_desired_rt60():
472
- st.write('''## Desired RT60
473
 
474
- At this point in the analysis, you would need to define your desired RT60, which would be used to
475
  calculate the desired sound absorption needed to achieve the desired RT60. Compare total frequency values
476
  in the table below to the calculated current room sound absorption on the Initial RT60 Compliance Check tab
477
  to inform your selection of new materials in the next step of the analysis''')
@@ -510,9 +510,9 @@ def display_desired_rt60():
510
  st.warning("Please complete the previous steps before proceeding to set the desired RT60 values.")
511
 
512
  def display_acoustic_treatment():
513
- st.write("""## Acoustic Treatment
514
 
515
- The desired sound absorption calculated on the Desired RT60 tab is the target sound absorption
516
  you are aiming to achieve. You now have to start working towards achieving the target absorptions. Based on the
517
  differences between the desired sound absorptions (see Desired RT60 tab) and the calculated current room
518
  sound absorptions (see Initial RT60 Compliance Check tab), you would need to introduce new materials to either
@@ -590,9 +590,8 @@ def display_acoustic_treatment():
590
  st.warning("Please upload new materials data before proceeding.")
591
 
592
  def display_final_rt60_compliance_check():
593
- st.write("""## Final RT60 Compliance Check
594
-
595
- This is the last step in the RT60 analysis. To pass the final compliance check, the new RT60 for each
596
  frequency must be within the standard RT60 range. If compliance fails, you need to go back to the Acoustic Treatment
597
  stage to revise your materials. Update your new materials spreadsheet and upload on the Acoustic Treatment tab.
598
  """)
@@ -639,9 +638,9 @@ def display_final_rt60_compliance_check():
639
 
640
 
641
  def display_intelligibility_noise_reduction():
642
- st.write('''## Intelligibility Noise Reduction
643
 
644
- On this tab, you will calculate noise reduction using existing and new materials sound absorption
645
  coefficients and surface areas that were provided for reverberation time analysis. The relevant data
646
  have copied to this tab for ease of reference. Note that you can update the new materials data by adding new rows
647
  or deleting existing rows. Your can also directly edit the current new materials data information. All updates
 
335
  st.info("After reading the instructions, get your input data ready and proceed to the next step.")
336
 
337
  def display_initial_data_entry():
338
+ st.write('''## Initial Data Entry''')
339
 
340
+ st.write('''The primary objective here is to provide all the initial input data needed to start RT60 analysis.
341
  See the 'Instructions' on the left for formatting information''')
342
 
343
  st.write("#### Upload current reverberation times")
 
389
  st.warning("Please ensure all input data has been provided correctly before proceeding.")
390
 
391
  def display_initial_rt60_compliance_check():
392
+ st.write('''## Initial RT60 Compliance Check''')
393
+
394
+ st.write('''The aim of initial compliance check is to compare the current RT60 values to the
395
  standard RT60 range. For the purpose of this tool, compliance is achieved if RT60 values for all frequencies are
396
  within the standard range. The graph at the bottom of this page would assist you in verifying compliance.
397
  If at least one frequency is not in the range, you would need to apply some acoustic treatment. See the
 
469
  st.warning("Please provide the current reverberation times and existing materials data before proceeding.")
470
 
471
  def display_desired_rt60():
472
+ st.write('''## Desired RT60''')
473
 
474
+ st.write('''At this point in the analysis, you would need to define your desired RT60, which would be used to
475
  calculate the desired sound absorption needed to achieve the desired RT60. Compare total frequency values
476
  in the table below to the calculated current room sound absorption on the Initial RT60 Compliance Check tab
477
  to inform your selection of new materials in the next step of the analysis''')
 
510
  st.warning("Please complete the previous steps before proceeding to set the desired RT60 values.")
511
 
512
  def display_acoustic_treatment():
513
+ st.write("""## Acoustic Treatment""")
514
 
515
+ st.write("""The desired sound absorption calculated on the Desired RT60 tab is the target sound absorption
516
  you are aiming to achieve. You now have to start working towards achieving the target absorptions. Based on the
517
  differences between the desired sound absorptions (see Desired RT60 tab) and the calculated current room
518
  sound absorptions (see Initial RT60 Compliance Check tab), you would need to introduce new materials to either
 
590
  st.warning("Please upload new materials data before proceeding.")
591
 
592
  def display_final_rt60_compliance_check():
593
+ st.write("""## Final RT60 Compliance Check""")
594
+ st.write("""This is the last step in the RT60 analysis. To pass the final compliance check, the new RT60 for each
 
595
  frequency must be within the standard RT60 range. If compliance fails, you need to go back to the Acoustic Treatment
596
  stage to revise your materials. Update your new materials spreadsheet and upload on the Acoustic Treatment tab.
597
  """)
 
638
 
639
 
640
  def display_intelligibility_noise_reduction():
641
+ st.write('''## Intelligibility Noise Reduction''')
642
 
643
+ st.write('''On this tab, you will calculate noise reduction using existing and new materials sound absorption
644
  coefficients and surface areas that were provided for reverberation time analysis. The relevant data
645
  have copied to this tab for ease of reference. Note that you can update the new materials data by adding new rows
646
  or deleting existing rows. Your can also directly edit the current new materials data information. All updates