How to find the documentation of the python package SDF?

250 Views Asked by At

When I was reading some source codes by my tutor, I found such code:

a=sdf.read('.Data/0000.sdf')

Does SDF package have the method 'read'? And how can I find the documentation of the python package SDF? Thanks.

1

There are 1 best solutions below

2
Phil On

Documentation: https://github.com/ScientificDataFormat/SDF-Python

From there:

Read the dataset from the SDF file asserting the correct unit of the dataset and scale:

ds_v2 = sdf.load('sine.sdf', '/v', unit='V', scale_units=['s'])