Data contributor docs
This document is for someone adding or editing data.
Preparation
To perform data contribution tasks you first need to
- Sign in
- By clicking on
Sign in
button in the upper right corner of any page.
- By clicking on
- On your profile page click the
Perform author tasks
link.- If this link is missing then email info@lxcat.net to request permission to contribute to LXCat. Please send the mail from the same email you used to sign into LXCat.
Submit
To submit a new scattering cross section set:
- Follow the
Scattering cross section set
link and then either- Click the
Add
button to fill the form - Or click
Add JSON document
to upload a file according to the JSON schema
- Click the
- After the form is submitted or the upload is completed, the cross section set is in draft state and it is only viewable/editable by you and your organization colleagues.
- To make the cross section set available to everyone
- Press the
publish
button on Author scattering cross section sets page
- Press the
Edit
To edit an existing cross section set:
- Follow the
Scattering cross section set
link and then either- Click the
Edit
button to edit using a form - Or click
Edit JSON
to edit the raw JSON document.
- Click the
- After the form is submitted the cross section set is in draft state and it is only
viewable/editable by you and your organization colleagues
- If you edited a published set a new draft version will be made and the published version of the set is unchanged.
- If you edited a draft set the changes will be made in-place, and no new version is made.
- To make the cross section set available to everyone
- Press the
publish
button on Author scattering cross section sets page - If the draft version had a published version then the draft becomes the new published version and the previously published version becomes archived.
- Press the
Retract
If there is a grave error in a cross section set you might want to retract the set, such that it is clear to visitors of the website that the set should not be used anymore.
Be careful! Once a cross section set is retracted it can not be undone.
To retract a cross section set:
- Follow the
Scattering cross section set
link and then click theRetract
button - Fill the form describing why this set should be retracted.
- Press the
retract
button. - The cross section set is now no longer visible on the search page. It is still possible to visit the details page via a direct link, but it will show a retraction message.
Versioning
To keep track of changes over time the application uses versioning. A cross section and a cross section set can have different versions in different statuses.
- draft: Only visible by organization members in author pages after authentication.
- published: Visible on the search page.
- archived: Not visible on the search page. Details page renders with warning that there is a newer version.
- retracted: Not visible on search page. Details pages renders with warning that it should not be used.
A cross section version or cross section set version can be in any of the statuses depicted above.
The draft, published, and archived versions of a cross section are connected and tracked in the database. Conceptually, the history of a cross section looks as follows:
ID | Version | Status | Comment | Created on |
---|---|---|---|---|
1111 | 1 | archived | Initial | 1 Jan 2022 |
2222 | 2 | archived | 1st update | 2 Jan 2022 |
3333 | 3 | published | 2nd update | 3 Jan 2022 |
4444 | 4 | draft | 3rd update | 4 Jan 2022 |
The history table of a cross section or cross section set can be inspected by appending
/history
to their details page URL. Naturally, each cross section set contains at least
one cross section. A similar history is recorded for each of the constituent cross
sections. Note that a published cross section set can only contain published cross
sections, but a draft set is allowed to contain draft cross section.
Organization
An organization has users as members. A cross section set is owned by an organization.
Any member of an organization can edit the cross section sets owned by that organization. A single cross section can be present in multiple cross section sets, but those sets must be owned by same organization.
To become member of an organization in LXCat you can email info@lxcat.net to request access.
A cross section is always part of a cross section set.