fusion-flap / flap

Fusion Library of Analysis Programs
MIT License
11 stars 5 forks source link

get_data should handle single coordinate input not only a range. #51

Closed sandorzoletnik closed 4 years ago

sandorzoletnik commented 4 years ago

At present if get_data is called with {coordinate:[c1,c2]} it is interpreted as a requested coordinate range and transferred to the module get_data function. It should also be possible to read single coordinate points by {coordinate:c1}

sandorzoletnik commented 4 years ago

This is implemented as a single value is converted to a list with two identical values. More precise definition of the data portion read can be specified with a list of flap.Coordinates. The inputs to the get_data function are documented no in the code.