Skip to content

Fix doc polyhedrons#735

Merged
sara-mokhtari merged 18 commits into
masterfrom
Fix_doc_polyhedrons
May 28, 2026
Merged

Fix doc polyhedrons#735
sara-mokhtari merged 18 commits into
masterfrom
Fix_doc_polyhedrons

Conversation

@sara-mokhtari
Copy link
Copy Markdown
Contributor

Fixes #733
Minor changes in the documentation of truncated_octahedron.py, truncated_tetrahedron.py, tetrahedron.py: formulas, plot legends, images, etc.

marimperorclerc and others added 16 commits May 22, 2026 15:52
upload figure tetrahedron.png for model tetrahedron.py
updated file name for the figure
update tetrahedron.png (size 318 k)
change to a=400 A in the plot figure caption
updated plot figure t=0 and t=0.5 for radius_a=400 Angs
update of the figures
upload of new figure with file called tetra_truncation.png
small version
small version
smaller version
last version with correct name
DOI: https://doi.org/10.1107/s160057672201130x
"Form factor of any polyhedron and its singularities derived from a projection method".
In: Journal of Applied Crystallography, 56(1), 167–177.
https://doi.org/10.1107/s160057672201130x
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Common citation styles (e.g., MLA, APA, Chicago, Elsevier, Harvard, Vancouver) do not use "In: " for journal articles. Many put the journal name in *in italics*.

We don't have a fixed style though I lean toward APA

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, I put all the citations in APA style in the last commit, it should be good now (ddeab37).

radius_a = radius_b = radius_c, \quad t = \frac{1}{2}

The model contains 4 parameters: :math:`radius_a`, the two ratios :math:`b2a_ratio` and :math:`c2a_ratio` and :math:`t`:
The model contains 4 parameters: :math:`radius_a`, the two ratios :math:`b2a_{\mathrm{ratio}}` and :math:`c2a_{\mathrm{ratio}}` and :math:`t`:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I usually use italics for model parameters, such as b2a_ratio rather than math markup. As math markup it would be b/a. Similarly radius_a with math markup $R_a$ and truncation with math markup t.

The symbols you choose in the math should match those in your diagrams.

Somewhere in the text you need to indicate how parameter names correspond to symbols.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried to make clearer the correspondance between parameters names and math symbols at the begining of the documentation of each models in the last 2 commits (ddeab37 and bf668a5).
In the second commit, I focused on truncated_octahedron: I removed some redunduncy and I removed the b2a_ratio and c2a_ratio inside the mathematical formulas and put b/a instead.

@sara-mokhtari sara-mokhtari merged commit 6872d43 into master May 28, 2026
26 checks passed
@sara-mokhtari sara-mokhtari deleted the Fix_doc_polyhedrons branch May 28, 2026 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Documentation issues with models of the polyhedron category

3 participants