Closed param-rekhi closed 1 month ago
The MatchedSources/read function already enable you to read only specifuc datasets via the 'Fields' argument. E.g., MatchedSources.read(FileName,'Fields',{'PSF_MAG'});
Do not use read_rdir
I added a MatchedSources/readList and optional argument named 'Fields' that can be used to read only specific datasets.
[dev1 51312d6d]
rdirMatchedSourcesSearch
dir
function in place of io.files.rdir.dir
can now be used recursively. This is a massive speed up (at least 10x).readList
Allow the function to read only specific fields. This helps with both speed and memory. This functionality is already present in
read
and hence is a simple fix:PS: All the parameters in
rdirMatchedSourcesSearch
can be folded into the path and file template, and hence I have created a bare-bones version of the function: