物理の駅 Physics station by 現役研究者

テクノロジーは共有されてこそ栄える

2023-03-01から1ヶ月間の記事一覧

CRediT(貢献者の役割の分類法) author statement 日本語訳

CRediT (Contributor Roles Taxonomy) つまり、貢献者の役割の分類法は、Elsevierによると、 個々の著者の貢献を認識し、著者の論争を減らし、共同作業を促進する目的 the intention of recognizing individual author contributions, reducing authorship d…

Python + SolidPython で三角柱を描く

多面体クラスである polyhedron を使えば良いが、一見どう使えばいいのか分からない。 例えば、y=0の平面上の三角形から高さ100の三角柱を描く場合は以下のPythonコードのようにする。 from solid import * from solid.utils import * x0 = 0 x1 = 20 x2 = -…

Python 2つのPDFファイルを重ね合わせて1つのファイルとして出力する方法

from PyPDF2 import PdfWriter, PdfReader def overlay(): file1 = r"file1.pdf" file2 = r"file2.pdf" file3 = r"overlay.pdf" back_ground = PdfReader(open(file1, "rb")) page1 = back_ground.pages[0] fore_ground = PdfReader(open(file2, "rb")) page…