[NeXus-tech] front page links
Pete Jemian
prjemian at gmail.com
Tue Nov 1 18:42:38 GMT 2011
I'm starting to expand the h5py examples and have added a file with
helper functions. In essence, these "helpers" take on the role of some
NAPI routines.
Soon, it should become obvious where to add additional code examples in
the manual. The "Examples" chapter in volume II will have two major
sections: NAPI Examples -and- non-NAPI Examples. The h5py examples will
go into the latter. The new C examples in the "NXImpatient" document
will be copied into the former.
The original h5py examples were written to be without numpy. Now, it
seems silly not to use it. Thanks for the update. I'll add that to the
new h5py examples, as well.
On 11/01/2011 12:12 PM, Kienzle, Paul A. wrote:
> I added a matlab subdirectory to the examples directory which implements BasicRead.py, BasicWrite.py and write_2_1.py. I didn't tie it into the manual.
>
> File writing could be a little easier with a couple of helper functions. I already added h5link following the pattern of the other highlevel matlab functions, but I'll leave the task of writing a high level NeXus library to the matlab user community.
>
> I checked it in against the wrong ref; should be Refs #138.
>
> I modified the python example slightly so that it uses the numpy.loadtxt function to load two column data.
>
> - Paul
>
> ________________________________________
> From: nexus-tech-bounces at nexusformat.org [nexus-tech-bounces at nexusformat.org] On Behalf Of Pete Jemian [prjemian at gmail.com]
> Sent: Thursday, October 27, 2011 1:29 AM
> To: nexus-tech at nexusformat.org
> Subject: Re: [NeXus-tech] front page links
>
> Paul, et al.:
>
> On 10/26/2011 6:10 PM, Kienzle, Paul A. wrote:
>> The "HDF structure" link does not lead to useful content for someone trying to write a nexus file from scratch. Is there a better link?
>
> That URL points to the right place.
> But the content there is deficient. Truly.
> As a stop-gap until something real is written, I have provided links to
> the various "simple" reader/writer pairs in NAPI, native HDF5, and h5py.
>
> The matlab examples can be added to the manual once they are placed in
> the<definitions>/trunk/manual/examples directory. Can you prepare a
> matlab example that writes an HDF5 file?
>
> Pete
>
>
> _______________________________________________
> NeXus-tech mailing list
> NeXus-tech at nexusformat.org
> http://lists.nexusformat.org/mailman/listinfo/nexus-tech
> _______________________________________________
> NeXus-tech mailing list
> NeXus-tech at nexusformat.org
> http://lists.nexusformat.org/mailman/listinfo/nexus-tech
More information about the NeXus-tech
mailing list