Skip to main content
Ctrl+K

gcmotion 0.0.3 documentation

  • API Reference
  • Installation
  • API Reference
  • Installation

Section Navigation

  • gcmotion
    • gcmotion.QuantityConstructor
    • Tokamak Configuration Objects
      • gcmotion.qfactor
      • gcmotion.bfield
      • gcmotion.efield
      • Initializers
      • Base Classes
    • gcmotion.Tokamak
    • gcmotion.Profile
    • gcmotion.Particle
    • gcmotion.InitialConditions
    • gcmotion.get_size
    • gcmotion.events
    • gcmotion.FrequencyAnalysis
    • gcmotion.bifurcation
    • gcmotion.fixed_points
  • gcmotion.plot
    • gcmotion.plot.qfactor_profile
    • gcmotion.plot.magnetic_profile
    • gcmotion.plot.machine_coords_profile
    • gcmotion.plot.efield_profile
    • gcmotion.plot.psi_ptheta_plot
    • gcmotion.plot.profile_energy_contour
    • gcmotion.plot.particle_evolution
    • gcmotion.plot.particle_poloidal_drift
    • gcmotion.plot.fixed_points_energy_contour
    • gcmotion.plot.bifurcation_plot
    • gcmotion.plot.parabolas_diagram
  • GCMotion API
  • The main GCMotion namespace
  • gcmotion.get_size

gcmotion.get_size#

gcmotion.get_size(obj: object) → None#

Recursively finds size of objects and prints the result.

All of the code is gracefully borrowed from Wissam Jarjoui from https://goshippo.com/blog/measure-real-size-any-python-object.

Parameters:
objectobject

The object to find the size of.

previous

gcmotion.InitialConditions

next

gcmotion.events

On this page
  • get_size()

This Page

  • Show Source

© Copyright 2024, George Tsiamasiotis.

Created using Sphinx 8.2.3.

Built with the PyData Sphinx Theme 0.16.1.