Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added SystemSofastFixed #78

Merged
merged 28 commits into from
Apr 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
97b42fb
Renamed SystemSofastFixed to PatternSofastFixed and updated files and…
braden6521 Apr 4, 2024
37b48ec
Added SystemSofastFixed class.
braden6521 Apr 4, 2024
9642447
Added test_SystemSofastFixed unit test and updated ImageAcquisition_n…
braden6521 Apr 4, 2024
0da37ab
Renamed SystemSofastFixed to PatternSofastFixed and updated files and…
braden6521 Apr 4, 2024
e255db5
Added SystemSofastFixed class.
braden6521 Apr 4, 2024
0d0398e
Added test_SystemSofastFixed unit test and updated ImageAcquisition_n…
braden6521 Apr 4, 2024
6847f02
Renamed SystemSofastFixed to PatternSofastFixed and updated files and…
braden6521 Apr 4, 2024
f1d6101
Added SystemSofastFixed class.
braden6521 Apr 4, 2024
d1f8cbb
Added test_SystemSofastFixed unit test and updated ImageAcquisition_n…
braden6521 Apr 4, 2024
1df7a89
Added DistanceOpticScreen to SystemSofastFixed.
braden6521 Apr 9, 2024
a6fed12
Added Singleton/Multidon image acquisition/projection support to Syst…
braden6521 Apr 9, 2024
aeb8d7b
Added sofast command line interface
braden6521 Apr 9, 2024
b62e50a
Added sofast command line interface
braden6521 Apr 9, 2024
beb227a
Added run_next to sofast_cli
braden6521 Apr 9, 2024
6d970a5
Added Fixed functionality to Sofast CLI
braden6521 Apr 9, 2024
db99aea
Removed calibrate camera exposure from SystemSofastFixed
braden6521 Apr 10, 2024
da153ff
Removed debugging lines from sofast CLI. Aded more functionality.
braden6521 Apr 10, 2024
416aa2d
Removed obsolete run_and_characterize sofast scripts.
braden6521 Apr 10, 2024
41d25dc
Updated contrib Sofast readme
braden6521 Apr 10, 2024
48a9b12
Updated SystemSofastFixed unit test.
braden6521 Apr 10, 2024
4e76b7c
Made black happy
braden6521 Apr 10, 2024
0d65611
Changed how SystemSofastFixed closes.
braden6521 Apr 10, 2024
f237d92
Fixed too short of documentation underline
braden6521 Apr 10, 2024
9283b80
Added a shutter delay to testing ImageAcquisition (microseconds)
braden6521 Apr 10, 2024
49b410e
Fixed error with sys_fringe in SofastGUI.py
braden6521 Apr 10, 2024
0aaf42c
Updated Sofast CLI to parameterize all inputs.
braden6521 Apr 17, 2024
b7dc4e4
Fixed typo in SystemSofastFixed
braden6521 Apr 17, 2024
100c83b
Merge branch 'develop' into run_sofast_fixed
braden6521 Apr 17, 2024
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
8 changes: 4 additions & 4 deletions contrib/app/sofast/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

Code under this directory is not actively maintained by the OpenCSP team.

These examples require additional hardware and data.
This is experimental code, still in early stages of exploration and development.

The Sofast Contributed example suite contains examples on how to use Sofast to collect data.
These examples require additional hardware and data.

## Example file description:
| File | Description |
| :--- | :--- |
| run_and_characterize_sofast_1_cam.py | Runs Sofast (requires camera/projector/etc.) with a single camera and characterizes data as a single facet data collection. |
| run_and_characterize_sofast_2_cam.py | Runs Sofast (requires two cameras/projector/etc.) with two cameras simultaneously and characterizes data as a single facet data collection |
| load_saved_data.py | Loads saved SofastFringe data from HDF5 file. |
| sofast_command_line_interface.py | Sofast Fixed and Fringe command line interface. |
153 changes: 0 additions & 153 deletions contrib/app/sofast/run_and_characterize_sofast_1_cam.py

This file was deleted.

185 changes: 0 additions & 185 deletions contrib/app/sofast/run_and_characterize_sofast_2_cam.py

This file was deleted.

6 changes: 3 additions & 3 deletions contrib/app/sofast/run_fixed_pattern_projection.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from os.path import join

from opencsp.app.sofast.lib.SystemSofastFixed import SystemSofastFixed
from opencsp.app.sofast.lib.PatternSofastFixed import PatternSofastFixed
from opencsp.common.lib.opencsp_path.opencsp_root_path import opencsp_code_dir
from opencsp.common.lib.deflectometry.ImageProjection import ImageProjection

Expand All @@ -21,10 +21,10 @@ def run_fixed_pattern_projection():
# Define SofastFixedPattern object
width_pattern = 3
spacing_pattern = 6
fixed_pattern = SystemSofastFixed(im_proj.size_x, im_proj.size_y, width_pattern, spacing_pattern)
fixed_pattern = PatternSofastFixed(im_proj.size_x, im_proj.size_y, width_pattern, spacing_pattern)
image = fixed_pattern.get_image('uint8', 255, 'square')

# Project image (press escape to close window)
image = fixed_pattern.get_image('uint8', 255, 'circle')
im_proj.display_image_in_active_area(image)
im_proj.run()

Expand Down
Loading