Skip to content

Commit

Permalink
Merge pull request #23 from KOSASIH/deepsource-transform-233a551a
Browse files Browse the repository at this point in the history
style: format code with Autopep8, Black, ClangFormat, dotnet-format, Go fmt, Gofumpt, Google Java Format, isort, PHP CS Fixer, Prettier, RuboCop, Ruff Formatter, Rustfmt, Scalafmt, StandardJS, StandardRB, swift-format and Yapf
  • Loading branch information
KOSASIH authored Apr 11, 2024
2 parents 65c810e + 67f394d commit ff2bd76
Showing 1 changed file with 17 additions and 11 deletions.
28 changes: 17 additions & 11 deletions func/Holographic_Medical_Education.py
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
import holopy
import holopy.core
import holopy.plot
import holopy.interactive
import holopy.ext.holopy_gui as hg
import holopy.ext.holopy_jupyter as hj
import holopy.ext.holopy_sketch as hs
import holopy.ext.holopy_sketch.sketch_objects as so
import holopy.ext.holopy_sketch.sketch_tools as st
import holopy.ext.holopy_sketch.sketch_viewer as sv
import holopy.ext.holopy_sketch.sketch_widgets as sw
import holopy.ext.holopy_sketch.sketch_cameras as sc
import holopy.ext.holopy_sketch.sketch_events as se
import holopy.ext.holopy_sketch.sketch_exporters as se
import holopy.ext.holopy_sketch.sketch_geometry as sg
import holopy.ext.holopy_sketch.sketch_materials as sm
import holopy.ext.holopy_sketch.sketch_scenes as ss
import holopy.ext.holopy_sketch.sketch_interactions as si
import holopy.ext.holopy_sketch.sketch_lights as sl
import holopy.ext.holopy_sketch.sketch_cameras as sc
import holopy.ext.holopy_sketch.sketch_materials as sm
import holopy.ext.holopy_sketch.sketch_objects as so
import holopy.ext.holopy_sketch.sketch_renderers as sr
import holopy.ext.holopy_sketch.sketch_interactions as si
import holopy.ext.holopy_sketch.sketch_scenes as ss
import holopy.ext.holopy_sketch.sketch_tools as st
import holopy.ext.holopy_sketch.sketch_utils as su
import holopy.ext.holopy_sketch.sketch_exporters as se
import holopy.ext.holopy_sketch.sketch_viewer as sv
import holopy.ext.holopy_sketch.sketch_widgets as sw
import holopy.interactive
import holopy.plot


def create_holographic_education_platform():
"""
Expand Down Expand Up @@ -72,6 +73,7 @@ def create_holographic_education_platform():

return sketch


def add_holographic_model(sketch, model_path):
"""
Add a holographic model to the sketch.
Expand All @@ -83,6 +85,7 @@ def add_holographic_model(sketch, model_path):
scene = sketch.get_scene()
scene.add_model(model)


def add_holographic_simulation(sketch, simulation_path):
"""
Add a holographic simulation to the sketch.
Expand All @@ -94,6 +97,7 @@ def add_holographic_simulation(sketch, simulation_path):
scene = sketch.get_scene()
scene.add_simulation(simulation)


def add_holographic_collaboration(sketch, collaboration_path):
"""
Add a holographic collaboration to the sketch.
Expand All @@ -105,6 +109,7 @@ def add_holographic_collaboration(sketch, collaboration_path):
scene = sketch.get_scene()
scene.add_collaboration(collaboration)


def run_holographic_education_platform(sketch):
"""
Run the holographic medical education platform.
Expand All @@ -115,6 +120,7 @@ def run_holographic_education_platform(sketch):
# Run the sketch
sketch.run()


# Example usage:
sketch = create_holographic_education_platform()
add_holographic_model(sketch, "model.obj")
Expand Down

0 comments on commit ff2bd76

Please sign in to comment.