vial_spin_stop_sequence — PHARMA synth op

• Data kinds: कोई नहीं → video (केवल arguments से तय होने वाला op — यह कोई image या data input नहीं लेता)

• Call: import fullseye as fs; fs.ledger.vial_spin_stop_sequence(shape=(96, 72), *, n_frames=18, frame_interval_s=0.04, initial_omega_rad_s=10.0, decay_time_s=0.25, vial_radius_mm=10.0, liquid_height_mm=28.0, particle_diameter_um=80.0, particle_density_kg_m3=1450.0, particle_contrast=0.16, illumination='back', n_particles=1, n_bubbles=1, n_scratches=1, viscosity_pa_s=0.003, fluid_density_kg_m3=1000.0, pixel_size_um=280.0, noise_sigma=0.012, seed=0) (implementation को सीधे call करना हो तो import vialops; vialops.vial_spin_stop_sequence(shape=(96, 72), *, n_frames=18, frame_interval_s=0.04, initial_omega_rad_s=10.0, decay_time_s=0.25, vial_radius_mm=10.0, liquid_height_mm=28.0, particle_diameter_um=80.0, particle_density_kg_m3=1450.0, particle_contrast=0.16, illumination='back', n_particles=1, n_bubbles=1, n_scratches=1, viscosity_pa_s=0.003, fluid_density_kg_m3=1000.0, pixel_size_um=280.0, noise_sigma=0.012, seed=0), registry से लेना हो तो opspharma.get("vial_spin_stop_sequence"))

• Ledger के ज़रिए return value: fullseye.ledger.vial_spin_stop_sequence(...) केवल घोषित out type video का value लौटाता है (मूल function सहायक जानकारी भी लौटाता है)। जो हिस्सा छोड़ दिया गया है उसकी ज़रूरत हो तो fullseye.ledger.vial_spin_stop_sequence.raw(...) का उपयोग करें, या vialops.vial_spin_stop_sequence को सीधे call करें।

• GPU: नहीं (केवल CPU reference implementation)

उपयोग

Spin रुकने के बाद vial image sequence और हर object की ground-truth trajectory बनाता है।

> नीचे का विस्तृत विवरण मूल text में है — सारांश और headings का अनुवाद हो चुका है।

The liquid azimuthal velocity is the axisymmetric, prescribed field u_theta(r,t) = omega0 exp(-t/tau) r; it is not a Navier--Stokes solution. A particle has that in-plane advection plus its Stokes terminal velocity v_t = 2 r_p^2 (rho_p-rho_f) g / (9 mu) in the image-downward direction. Bubbles use rho_p=1.2 kg/m^3 and therefore rise. The model is restricted to small Reynolds number / isolated spherical objects where Stokes drag is appropriate; it does not model turbulent wake, aggregation, meniscus forces, or wall-corrected drag. At the cylindrical wall positions are reflected, which prevents a silent escape but is not a hydrodynamic wall model. Refraction through glass and liquid is deliberately simplified to a fixed apparent contrast and Gaussian PSF in this first stage.

illumination is "back" or "side". A fixed seed determines object positions, sensor noise, and scratches. The direct return is (frames, truth); truth contains a row table with object type, frame, projected positions, physical positions and visibility, plus angular-speed truth. The ledger adapter returns only the video frames.

The rendered outline is a display-only 2R-like profile, not a metrology calibration. Its public dimensional source is ISO 8362-1:2018(E), Table 1 (2R: 16 mm body, 13 mm finish, 35 mm overall height, 8 mm finish height), previewed at https://cdn.standards.iteh.ai/samples/74398/343407bc7b564f6184bfa0a9decede14/ISO-8362-1-2018.pdf. An independent public 2R product listing confirms the 16 mm body and 35 mm overall height at https://www.westpharma.com/es-es/products/vial-containment-solutions/vials/nuova-ompi-sg-ez-fill-glass-vials-sterile-3-8-10. 描画外形は計測校正ではなく、公開 ISO 8362-1:2018(E) Table 1 の 2R 比率を使う表示モデルである。独立した公開製品寸法も上記 URL で確認する。

Raises ValueError for nonphysical dimensions, an unknown illumination, or a nonintegral object count.

संदर्भ (sample data, साहित्य)

• Sample data catalog (DL URL / license) — 2-D के लिए skimage.data (BSD/public) + synthetic, 3-D के लिए real data sources (Stanford/PDS आदि) के DL URL।

• Operators का स्रोत और संदर्भ — इस op family के मूल research/methods के स्रोत।

• Algorithm का मानक स्रोत (लेखक, वर्ष) और उपयोग ऊपर की family usage guide में दिए गए हैं।

चलाए जा सकने वाले उदाहरण (verified samples जो सच में यह op call करते हैं)

• poc_vial_particle_pod — py -3.11 examples/poc_vial_particle_pod.py

वे अगले ops जिनसे type जुड़ता है (video को input के रूप में लेते हैं)

track_moving_particles

इसी category के (synth)

—


*Provenance: vialops.py — PHARMA operator registry. यह per-op note tools/opdocs.py md से अपने-आप generate होता है (हाथ से edit न करें)।*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.