Assigning starting_frames using VideoInterface in neuroconv #63
Unanswered
SkepticRaven
asked this question in
Q&A
Replies: 1 comment 5 replies
-
So in theory you should just be able to add interface.run_conversion(nwbfile_path=path_to_save_nwbfile, metadata=metadata, starting_frames=[1.0, 2.0, 3.0, ...]) to that last line of the tutorial I also forget if this is something changed since the last official release or not - if that doesn't work, try installing current We plan to add a feature that calculates this value automatically under the hood but we haven't gotten around to that yet |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I've been trying to adopt integration of our metadata into the NWB format using this tutorial: https://neuroconv.readthedocs.io/en/main/conversion_examples_gallery/behavior/video.html
The only major difference that I have with that tutorial is that we segment our data into multiple videos, so I provide a list of avi files to the
VideoInterface()
call.After trying to add all the metadata in, I get an error when trying to call
run_conversion()
How do I assign
starting_frames
, as I didn't see them in any of the schema (eginterface.get_source_schema()
orinterface.get_metadata_schema()
)?I've tried
interface.set_aligned_segment_starting_times(list_of_int_delta_times)
andinterface.set_aligned_starting_time(0.0)
, but was unsuccessful.Beta Was this translation helpful? Give feedback.
All reactions