phm2pj(1)

πŸ’– phm2pj β€” bestie edition πŸ’–

okay so this is phm2pj(1), a manual page from the Engineering section, and it's literally the glow-up tool for turning a phantom object into projections. sit down, grab a boba, we're doing science 🧚✨


✨ NAME ✨

phm2pj β€” calculate projections through a phantom object. that's it, that's the whole job, and she does it flawlessly πŸ’…


🌸 SYNOPSIS 🌸

phm2pj outfile ndet nview [--phantom phantom-name] [--phmfile filename]
[OPTIONS]

πŸ¦‹ DESCRIPTION πŸ¦‹

so phm2pj calculates projections through a phantom object. and where does that phantom come from, you ask? bestie, you've got two options and both are valid: either a predefined --phantom, or a --phmfile. pick your fighter 🫢


πŸ’… OPTIONS πŸ’…

  • --outfile β€” the name of the output file for the projections. this is where the good stuff goes.
  • --ndet β€” number of detectors. count 'em.
  • --nview β€” number of rotated views. also count 'em.
  • --phantom β€” the predefined phantom to use for projection. can be one of:
    • herman β€” Herman head phantom 🧠
    • herman-b β€” Herman head phantom (Bordered)
    • shepp-logan β€” Shepp-Logan head phantom πŸ‘‘
    • shepp-logan-b β€” Shepp-Logan head phantom (Bordered)
    • unitpulse β€” Unit pulse phantom ⚑
  • --phmfile name β€” get the phantom from a phantom file. DIY energy fr fr.
  • --desc β€” description of raysum
  • --nray β€” number of rays per detector (default = 1)
  • --rotangle β€” degrees to rotate view through (multiple of PI) (default = 1)
  • --geometry β€” geometry of scanning, choose your vibe:
    • parallel β€” parallel scan beams (default) 🌈
    • equilinear β€” equilinear divergent scan beams
    • equiangular β€” equiangular divergent scan beams
  • --focal-length β€” focal length ratio (ratio to radius of phantom) (default = 1)
  • --field-of-view β€” field of view (ratio to diameter of phantom square) (default = 1)
  • --trace β€” trace level to use, one of:
    • none β€” no tracing (default)
    • console β€” trace text level
  • --verbose β€” verbose mode πŸ—£οΈ
  • --debug β€” debug mode πŸ›
  • --version β€” print version
  • --help β€” print a terse help message

πŸ‘‘ AUTHORS πŸ‘‘

Kevin Rosenberg, M.D. <kevin@ctsim.org> β€” an actual icon, no cap πŸ’œ


πŸŽ€ HISTORY πŸŽ€

CTSim was begun in 1983 using MS-DOS and an EGA display adapter. the way that this predates most of us is wild 😭. In 1999 it was ported to GNU/Linux and later ported to Microsoft Windows. a whole glow-up arc, we love to see it ✨


🌈 SEE ALSO 🌈

ctsim(1) ctsimtext(1) if1(1) if2(1) ifinfo(1) linogram(1) phm2helix(1) phm2if(1) pj2if(1) pjHinterp(1) pjinfo(1) pjrec(1)


and that's the whole page bestie 🫢 this one's brought to you by Kevin Rosenberg and it lives in section 1 of the manual β€” go forth and project, you've got this πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from