[NeXus-tech] application definitions and NXsubentry or NXentry

Mark Koennecke Mark.Koennecke at psi.ch
Thu Jan 27 07:27:12 GMT 2011


Pete,

Pete Jemian wrote:
>
> our rule:
> application definitions will be used to replace NXsubentry (preferred) 
> or NXentry
>
>
> Trac Ticket #179 is to clarify NXsubentry and use of application 
> definitions in the manual.  Here's the general pattern for use:
>
>
>      name:NXsubentry (or NXentry but NXsubentry is preferred)
>        @NX_class = NXsubentry  (as above)
>        definition = {NXapplicationdefinition}
>          @version = {this is optional}
>          @URL= {this is optional}
>        {fields, groups, attributes of NXapplicationdefinition}
>
>
What do you wish to express with this?
> These two points make sense:
> [1] Application definitions should only be used by NXsubentry
>     Is there any meaningful use at NXentry instead?
>     NXsubentry might be better understood as NXappdef (or similar)
>     (we debated this at some length at NIAC2010 and voted)
>
There is a valid use of application definitions with NXentry: if your 
instrument implements only a single
method, there is no need for NXsubentry. In my understanding NXsubentry 
was introduced to help
solve the case of the multi method instrument. Thus an application 
definition describes the content of an
NXentry or an NXsubentry.

> [2] application definitions should extend "NXsubentry"
>     (or some other class hierarchy that extends from NXsubentry)
>     rather than "NXobject"
>     This is done by editing the definition/@extends attribute
>     in the NXDL file of the application definition.
>
> Discussion?
>
This might be better in terms of notation and simpler to understand. I 
have no strong feelings about this.
This, however, has implications for the nxdl tools (easy to resolve) but 
also for NXvalidate where I cannot
judge how much work it will be to accomodate this.


Best Regards,

                Mark
>
> _______________________________________________
> NeXus-definitions-tickets mailing list
> NeXus-definitions-tickets at nexusformat.org
> http://lists.nexusformat.org/mailman/listinfo/nexus-definitions-tickets
> _______________________________________________
> 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