Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 38 additions & 38 deletions example/enclosed_energy/enclosed_energy.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"onsun_dir = C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\input\\HeliostatsSpotSize\\2_Data\\0900_OnSun\\PixelData_Images\n",
"nosun_images_range = ['20241123_090715.90_1123_0900_NoSun_Raw.png', '20241123_090721.58_1123_0900_NoSun_Raw.png']\n",
"onsun_images_range = ['20241123_090823.13_1123_0900_SF_Raw.png', '20241123_090823.68_1123_0900_SF_Raw.png']\n",
"output_dir = C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\n",
"output_dir = C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\HeliostatsSpotSize\\3_Post\n",
"source_img_desc = Single_NSTTF_Facet_0900\n"
]
}
Expand Down Expand Up @@ -625,42 +625,42 @@
"name": "stdout",
"output_type": "stream",
"text": [
"Saving temporary image to: C:\\Users\\rcbrost\\AppData\\Local\\opencsp\\scratch\\tmp\\PowerpointImage\\images\\tmp\\2_0.png\n",
"Saving persistent image to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\PowerPointFigures\\2_0.png\n",
"Saving persistent metadata to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\PowerPointFigures\\2_0.txt\n",
"Saving temporary image to: C:\\Users\\rcbrost\\AppData\\Local\\opencsp\\scratch\\tmp\\PowerpointImage\\images\\tmp\\2_1.png\n",
"Saving persistent image to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\PowerPointFigures\\2_1.png\n",
"Saving persistent metadata to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\PowerPointFigures\\2_1.txt\n",
"Saving temporary image to: C:\\Users\\rcbrost\\AppData\\Local\\opencsp\\scratch\\tmp\\PowerpointImage\\images\\tmp\\2_2.png\n",
"Saving persistent image to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\PowerPointFigures\\2_2.png\n",
"Saving persistent metadata to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\PowerPointFigures\\2_2.txt\n",
"Saving temporary image to: C:\\Users\\rcbrost\\AppData\\Local\\opencsp\\scratch\\tmp\\PowerpointImage\\images\\tmp\\2_3.png\n",
"Saving persistent image to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\PowerPointFigures\\2_3.png\n",
"Saving persistent metadata to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\PowerPointFigures\\2_3.txt\n",
"Saving temporary image to: C:\\Users\\rcbrost\\AppData\\Local\\opencsp\\scratch\\tmp\\PowerpointImage\\images\\tmp\\2_4.png\n",
"Saving persistent image to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\PowerPointFigures\\2_4.png\n",
"Saving persistent metadata to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\PowerPointFigures\\2_4.txt\n",
"Saving temporary image to: C:\\Users\\rcbrost\\AppData\\Local\\opencsp\\scratch\\tmp\\PowerpointImage\\images\\tmp\\2_5.png\n",
"Saving persistent image to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\PowerPointFigures\\2_5.png\n",
"Saving persistent metadata to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\PowerPointFigures\\2_5.txt\n",
"Saving temporary image to: C:\\Users\\rcbrost\\AppData\\Local\\opencsp\\scratch\\tmp\\PowerpointImage\\images\\tmp\\2_6.png\n",
"Saving persistent image to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\PowerPointFigures\\2_6.png\n",
"Saving persistent metadata to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\PowerPointFigures\\2_6.txt\n",
"Saving temporary image to: C:\\Users\\rcbrost\\AppData\\Local\\opencsp\\scratch\\tmp\\PowerpointImage\\images\\tmp\\2_7.png\n",
"Saving persistent image to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\PowerPointFigures\\2_7.png\n",
"Saving persistent metadata to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\PowerPointFigures\\2_7.txt\n",
"Saving temporary image to: C:\\Users\\rcbrost\\AppData\\Local\\opencsp\\scratch\\tmp\\PowerpointImage\\images\\tmp\\2_8.png\n",
"Saving persistent image to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\PowerPointFigures\\2_8.png\n",
"Saving persistent metadata to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\PowerPointFigures\\2_8.txt\n",
"Saving temporary image to: C:\\Users\\rcbrost\\AppData\\Local\\opencsp\\scratch\\tmp\\PowerpointImage\\images\\tmp\\2_9.png\n",
"Saving persistent image to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\PowerPointFigures\\2_9.png\n",
"Saving persistent metadata to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\PowerPointFigures\\2_9.txt\n",
"Saving temporary image to: C:\\Users\\rcbrost\\AppData\\Local\\opencsp\\scratch\\tmp\\PowerpointImage\\images\\tmp\\2_10.png\n",
"Saving persistent image to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\PowerPointFigures\\2_10.png\n",
"Saving persistent metadata to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\PowerPointFigures\\2_10.txt\n",
"Saving temporary image to: C:\\Users\\rcbrost\\AppData\\Local\\opencsp\\scratch\\tmp\\PowerpointImage\\images\\tmp\\2_11.png\n",
"Saving persistent image to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\PowerPointFigures\\2_11.png\n",
"Saving persistent metadata to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\PowerPointFigures\\2_11.txt\n",
"Saving temporary image to: C:\\Users\\rcbrost\\AppData\\Local\\opencsp\\scratch\\tmp\\PowerpointImage\\images\\tmp\\7_35.png\n",
"Saving persistent image to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\HeliostatsSpotSize\\3_Post\\PowerPointFigures\\7_35.png\n",
"Saving persistent metadata to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\HeliostatsSpotSize\\3_Post\\PowerPointFigures\\7_35.txt\n",
"Saving temporary image to: C:\\Users\\rcbrost\\AppData\\Local\\opencsp\\scratch\\tmp\\PowerpointImage\\images\\tmp\\7_36.png\n",
"Saving persistent image to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\HeliostatsSpotSize\\3_Post\\PowerPointFigures\\7_36.png\n",
"Saving persistent metadata to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\HeliostatsSpotSize\\3_Post\\PowerPointFigures\\7_36.txt\n",
"Saving temporary image to: C:\\Users\\rcbrost\\AppData\\Local\\opencsp\\scratch\\tmp\\PowerpointImage\\images\\tmp\\7_37.png\n",
"Saving persistent image to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\HeliostatsSpotSize\\3_Post\\PowerPointFigures\\7_37.png\n",
"Saving persistent metadata to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\HeliostatsSpotSize\\3_Post\\PowerPointFigures\\7_37.txt\n",
"Saving temporary image to: C:\\Users\\rcbrost\\AppData\\Local\\opencsp\\scratch\\tmp\\PowerpointImage\\images\\tmp\\7_38.png\n",
"Saving persistent image to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\HeliostatsSpotSize\\3_Post\\PowerPointFigures\\7_38.png\n",
"Saving persistent metadata to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\HeliostatsSpotSize\\3_Post\\PowerPointFigures\\7_38.txt\n",
"Saving temporary image to: C:\\Users\\rcbrost\\AppData\\Local\\opencsp\\scratch\\tmp\\PowerpointImage\\images\\tmp\\7_39.png\n",
"Saving persistent image to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\HeliostatsSpotSize\\3_Post\\PowerPointFigures\\7_39.png\n",
"Saving persistent metadata to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\HeliostatsSpotSize\\3_Post\\PowerPointFigures\\7_39.txt\n",
"Saving temporary image to: C:\\Users\\rcbrost\\AppData\\Local\\opencsp\\scratch\\tmp\\PowerpointImage\\images\\tmp\\8_0.png\n",
"Saving persistent image to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\HeliostatsSpotSize\\3_Post\\PowerPointFigures\\8_0.png\n",
"Saving persistent metadata to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\HeliostatsSpotSize\\3_Post\\PowerPointFigures\\8_0.txt\n",
"Saving temporary image to: C:\\Users\\rcbrost\\AppData\\Local\\opencsp\\scratch\\tmp\\PowerpointImage\\images\\tmp\\8_1.png\n",
"Saving persistent image to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\HeliostatsSpotSize\\3_Post\\PowerPointFigures\\8_1.png\n",
"Saving persistent metadata to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\HeliostatsSpotSize\\3_Post\\PowerPointFigures\\8_1.txt\n",
"Saving temporary image to: C:\\Users\\rcbrost\\AppData\\Local\\opencsp\\scratch\\tmp\\PowerpointImage\\images\\tmp\\8_2.png\n",
"Saving persistent image to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\HeliostatsSpotSize\\3_Post\\PowerPointFigures\\8_2.png\n",
"Saving persistent metadata to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\HeliostatsSpotSize\\3_Post\\PowerPointFigures\\8_2.txt\n",
"Saving temporary image to: C:\\Users\\rcbrost\\AppData\\Local\\opencsp\\scratch\\tmp\\PowerpointImage\\images\\tmp\\8_3.png\n",
"Saving persistent image to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\HeliostatsSpotSize\\3_Post\\PowerPointFigures\\8_3.png\n",
"Saving persistent metadata to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\HeliostatsSpotSize\\3_Post\\PowerPointFigures\\8_3.txt\n",
"Saving temporary image to: C:\\Users\\rcbrost\\AppData\\Local\\opencsp\\scratch\\tmp\\PowerpointImage\\images\\tmp\\8_4.png\n",
"Saving persistent image to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\HeliostatsSpotSize\\3_Post\\PowerPointFigures\\8_4.png\n",
"Saving persistent metadata to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\HeliostatsSpotSize\\3_Post\\PowerPointFigures\\8_4.txt\n",
"Saving temporary image to: C:\\Users\\rcbrost\\AppData\\Local\\opencsp\\scratch\\tmp\\PowerpointImage\\images\\tmp\\8_5.png\n",
"Saving persistent image to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\HeliostatsSpotSize\\3_Post\\PowerPointFigures\\8_5.png\n",
"Saving persistent metadata to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\HeliostatsSpotSize\\3_Post\\PowerPointFigures\\8_5.txt\n",
"Saving temporary image to: C:\\Users\\rcbrost\\AppData\\Local\\opencsp\\scratch\\tmp\\PowerpointImage\\images\\tmp\\8_6.png\n",
"Saving persistent image to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\HeliostatsSpotSize\\3_Post\\PowerPointFigures\\8_6.png\n",
"Saving persistent metadata to: C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\HeliostatsSpotSize\\3_Post\\PowerPointFigures\\8_6.txt\n",
"In PowerpointSlide.render()\n",
"In PowerpointSlide.render()\n",
"In PowerpointSlide.render()\n",
Expand Down Expand Up @@ -699,7 +699,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"The Powerpoint slide deck is saved to C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\Single_NSTTF_Facet_0900.pptx\n",
"The Powerpoint slide deck is saved to C:\\ctemp\\OpenCSP_example_data\\enclosed_energy\\output\\HeliostatsSpotSize\\3_Post\\Single_NSTTF_Facet_0900.pptx\n",
"Radius for 50% encircled energy: 283px\n",
"Radius for 80% encircled energy: 421px\n",
"Radius for 90% encircled energy: 494px\n"
Expand Down
18 changes: 7 additions & 11 deletions example/enclosed_energy/enclosed_energy_settings_ctemp.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,13 @@
# --> SpotAnalysis
# --> EnclosedEnergy_v1.1.zip
#
# Unzip and place the enclosed directory within the directory:
# Download the .zip file, then unzip the file to produce an unzipped
# directory "EnclosedEnergyData_v1.1" which in turns contains a
# directory "enclosed_energy". Then move the "enclosed_energy"
# directory into the "C:\ctemp\OpenCSP_example_data" directory,
# to produce the directory structure:
#
# C:\ctemp\OpenCSP_example_data\enclosed_energy\
#
# This will produce a directory structure:
#
# C:\ctemp\OpenCSP_example_data\enclosed_energy\EnclosedEnergyData_v1.1\
#
# Then rename "EnclosedEnergyData_v1.1" to "input", producing:
#
# C:\ctemp\OpenCSP_example_data\enclosed_energy\input\
# C:\ctemp\OpenCSP_example_data\enclosed_energy\input\...
#
# After this, the "enclosed_energy.ipynb" notebook should run without modification,
# writing to an "output" subdirectory placed next to the input directory.
Expand All @@ -35,4 +31,4 @@ nosun_images_range = 20241123_090715.90_1123_0900_NoSun_Raw.png,20241123_090721.
onsun_dir = C:\ctemp\OpenCSP_example_data\enclosed_energy\input\HeliostatsSpotSize\2_Data\0900_OnSun\PixelData_Images
# In range below, no space allowed between comma and next entry.
onsun_images_range = 20241123_090823.13_1123_0900_SF_Raw.png,20241123_090823.68_1123_0900_SF_Raw.png
output_dir = C:\ctemp\OpenCSP_example_data\enclosed_energy\output
output_dir = C:\ctemp\OpenCSP_example_data\enclosed_energy\output\HeliostatsSpotSize\3_Post
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,13 @@
# --> SceneReconstruction
# --> SceneReconstructionData_v1.1.zip
#
# Unzip and place the enclosed directory within the directory:
# Download the .zip file, then unzip the file to produce an unzipped
# directory "SceneReconstructionData_v1.1" which in turns contains a
# directory "scene_reconstruction". Then move the "scene_reconstruction"
# directory into the "C:\ctemp\OpenCSP_example_data" directory,
# to produce the directory structure:
#
# C:\ctemp\OpenCSP_example_data\scene_reconstruction\
#
# This will produce a directory structure:
#
# C:\ctemp\OpenCSP_example_data\scene_reconstruction\SceneReconstructionData_v1.1\
#
# Then rename "SceneReconstructionData_v1.1" to "input", producing:
#
# C:\ctemp\OpenCSP_example_data\scene_reconstruction\input\
# C:\ctemp\OpenCSP_example_data\scene_reconstruction\input\...
#
# After this, the "example_scene_reconstruction.py" script should run without modification, by executing the following:
# 1. Start a powershell.
Expand All @@ -39,4 +35,4 @@ verbose = True
# Directory to find input files.
dir_input = C:\ctemp\OpenCSP_example_data\scene_reconstruction\input\LabScene\2_Data
# Directory to write output files.
dir_output = C:\ctemp\OpenCSP_example_data\scene_reconstruction\output
dir_output = C:\ctemp\OpenCSP_example_data\scene_reconstruction\output\LabScene\3_Post
280 changes: 140 additions & 140 deletions example/target_identification/target_identification.ipynb

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,13 @@
# --> SpotAnalysis
# --> TargetIdentification_v1.1.zip
#
# Unzip and place the enclosed directory within the directory:
# Download the .zip file, then unzip the file to produce an unzipped
# directory "TargetIdentificationData_v1.1" which in turns contains a
# directory "target_identification". Then move the "target_identification"
# directory into the "C:\ctemp\OpenCSP_example_data" directory,
# to produce the directory structure:
#
# C:\ctemp\OpenCSP_example_data\target_identification\
#
# This will produce a directory structure:
#
# C:\ctemp\OpenCSP_example_data\target_identification\TargetIdentificationData_v1.1\
#
# Then rename "TargetIdentificationData_v1.1" to "input", producing:
#
# C:\ctemp\OpenCSP_example_data\target_identification\input\
# C:\ctemp\OpenCSP_example_data\target_identification\input\...
#
# After this, the "target_identification.ipynb" notebook should run without modification,
# writing to an "output" subdirectory placed next to the input directory.
Expand All @@ -33,4 +29,4 @@ nosun_desc = No Sun
onsun_dir = C:\ctemp\OpenCSP_example_data\target_identification\input\HeliostatPointing\2_Data\OnSun
onsun_desc = 9E10
mask_image_path_name_ext = C:\ctemp\OpenCSP_example_data\target_identification\input\HeliostatPointing\1_Plan\target_board_mask.png
output_dir = C:\ctemp\OpenCSP_example_data\target_identification\output
output_dir = C:\ctemp\OpenCSP_example_data\target_identification\output\HeliostatPointing\3_Post