Thomas Hopkins

Results 9 issues of Thomas Hopkins

The definition for `MultiThreadEnv` exists under `src/algorithms/policy_gradient/multi_thread_env.jl` but that file is not included in `policy_gradient.jl` , `algorithms.jl`, or `ReinforcementLearningZoo.jl`. Is this intentional? After trying to include it in `policy_gradient.jl`, I...

Currently, doing ``` PV._default_context ``` fails because it is actually an instance method rather than a class method. It is used this way in a couple of places: - https://github.com/caproto/caproto/blob/284568779305335fed069459999a65e933cff93f/caproto/threading/pyepics_compat.py#L1043...

## Description Closes #1975 ## Motivation and Context Bug fix. The root device should only be staged once when using the `lazily_stage_wrapper`. ## How Has This Been Tested? - [x]...

## Description Adds a new preprocessor: `single_run_repeat_wrapper` and `single_run_repeat_decorator` Adds one test for desired functionality. ## Motivation and Context This change makes it easy to repeat plans that have internal...

Using the `bluesky.preprocessors.lazily_stage_wrapper` in a plan like this: ```python RE(lazy_stage_list_scan([device], device.signal, [1, 2, 3])) ``` Causes the `device` to be staged twice. The offending line is: https://github.com/bluesky/bluesky/blob/3f23fd610bb5cc7fd90fd3ed58e6a04544295c47/src/bluesky/preprocessors.py#L954-L955 The `root` is...

bug

Adding a `prepare` argument to Bluesky plans adds flexibility and solves the ophyd-async issue https://github.com/bluesky/ophyd-async/issues/825. `prepare` should be `None | list[Any]` and we need to verify that the length of...

# Problem Description I am building a Caproto IOC which has an `acquire` PV like so: ```python @acquire.putter async def acquire(self, instance, value): ... # Start acquisition if value >...

Write the tests first that use the Bluesky Run Engine and EPICS ADSim. We can subscribe to Run Engine with a callback to save the documents so we can analyze...

Rather than only allow for templating using `datetime.now()`, we should allow a custom implementation of `make_filename` so that upper level directories can be dynamically created. For example, if we have...

enhancement
idea