Public Member Functions | |
def | __init__ |
def | __repr__ |
def | Path |
def | SVG |
Public Member Functions inherited from svgfig.Curve | |
def | __init__ |
def | __repr__ |
def | Path |
def | sample |
end nested class More... | |
def | subsample |
def | SVG |
Public Attributes | |
attr | |
b | |
f | |
high | |
loop | |
low | |
Public Attributes inherited from svgfig.Curve | |
attr | |
f | |
high | |
last_samples | |
loop | |
low | |
Static Public Attributes | |
dictionary | defaults = {} |
Static Public Attributes inherited from svgfig.Curve | |
dictionary | defaults = {} |
int | discontinuity_limit = 5 |
float | linearity_limit = 0.05 |
random_sampling = True | |
int | recursion_limit = 15 |
Draws an ellipse from a semimajor vector (ax,ay) and a semiminor length (b). Ellipse(x, y, ax, ay, b, attribute=value) x, y required the center of the ellipse/circle ax, ay required a vector indicating the length and direction of the semimajor axis b required the length of the semiminor axis. If equal to sqrt(ax2 + ay2), the ellipse is a circle attribute=value pairs keyword list SVG attributes (If sqrt(ax**2 + ay**2) is less than b, then (ax,ay) is actually the semiminor axis.)
def svgfig.Ellipse.__repr__ | ( | self | ) |
Definition at line 2255 of file svgfig.py.
References svgfig.SVG.attr, svgfig.Path.attr, svgfig.Curve.attr, TrackFP420.ax(), LocalTrackFit.ax, TrackFP420.ay(), LocalTrackFit.ay, svgfig.Ellipse.b, Quad.x, reco::MuonRPCHitMatch.x, RPFlatParams::EP.x, reco::PixelClusterProperties.x, BeamSpotPOD.x, stAPVGain.x, gen::PdfInfo.x, MadKinematicDescriptor.x, EnergyDepositUnit.x(), AmplitudeSegmentFP420.x(), TkLayerMap::XYbin.x, TwoBodyDecayParameters.x, SignalPoint.x(), reco::MuonChamberMatch.x, EnergySegmentFP420.x(), CTPPSTimingRecHit.x(), lumiregperbunch.bsmeas.x, Geom::Polar2Cartesian< T >.x(), SiStripFineDelayTOF.x(), HFShowerPhoton.x(), CTPPSTimingLocalTrack.x, SimplePixel.x, ME0DigiPreReco.x(), online::BeamSpot_v1.x, PixelClusterizerBase::AccretionCluster.x, HGCal_helpers::Coordinates.x, ticl::PatternRecognitionbyCLUE3D< TILES >::ClustersOnLayer.x, reco::MuonMETCorrectionData.x(), LHCInterpolatedOpticalFunctionsSet::Kinematics.x, FTLCluster::FTLHit.x(), EcalTBHodoscopeRecInfoAlgo::BeamTrack.x, reco::MuonRecHitCluster.x(), reco::MuonSegmentMatch.x, PhiInterval.x, ClusterShape.x, SiPixelCluster::Pixel.x, BSvsPVHistogramMaker.x(), VertexType.x, RHStopTracer::StopPoint.x, BeamSpotFakeConditions.x, TotemTestHistoClass::Hit.x, PGlobalSimHit::Vtx.x, MTDClusterizerBase::AccretionCluster.x, PV2DBase< float, PointTag, LocalTag >.x(), PV2DBase< T, VectorTag, FrameTag >.x(), PV2DBase< float, VectorTag, GlobalTag >.x(), PV2DBase< T, PointTag, FrameTag >.x(), PV2DBase< double, PointTag, LocalTag >.x(), egPM::AbsEtaNrClus.x, PV2DBase< T, PVType, FrameType >.x(), HGCalRecHitValidation::HitsInfo.x, MTDHit.x, Geom::Cylindrical2Cartesian< T >.x(), Run3ScoutingVertex.x(), ScoutingVertex.x(), HGCalDigiValidation::digiInfo.x, MuScleFitMuon.x(), BeamSpotOnline.x(), HcalForwardAnalysis::Photon.x, mathSSE::Rot3< double >.x(), mathSSE::Rot3< Scalar >.x(), mathSSE::Rot3< align::Scalar >.x(), mathSSE::Rot3< float >.x(), mathSSE::Rot3< T >.x(), RooCMSShape.x, Pixinfo.x, trklet::L1TStub.x(), egPM::AbsEtaNrClusPhi.x, Hit.x, reco::CastorCell.x(), Basic2DVector< Scalar >.x(), Basic2DVector< double >.x(), Basic2DVector< float >.x(), PV3DBase< float, VectorTag, LocalTag >.x(), PV3DBase< float, PointTag, LocalTag >.x(), PV3DBase< Scalar, VectorTag, GlobalTag >.x(), PV3DBase< T, PointTag, GlobalTag >.x(), PV3DBase< T, VectorTag, FrameTag >.x(), PV3DBase< Scalar, PointTag, GlobalTag >.x(), PV3DBase< T, PointTag, FrameTag >.x(), PV3DBase< float, PointTag, GlobalTag >.x(), PV3DBase< align::Scalar, PointTag, GlobalTag >.x(), PV3DBase< long double, PointTag, GlobalTag >.x(), Basic2DVector< T >.x(), PV3DBase< T, PVType, FrameType >.x(), funct::GaussLegendreIntegrator.x, Clust.x, PPSDiamondG4Hit.x(), HGCalSimHitValidation::hitsinfo.x, QcdLowPtDQM::Pixel.x(), MonitorTrackResidualsBase< pixel_or_strip >::HistoXY.x, reco::BeamSpot.x(), CTPPSLocalTrackLite.x(), Geom::Spherical2Cartesian< T >.x(), PassiveHit.x(), egPM::AbsEtaNrClusEt.x, python.rootplot.utilities.Hist2D.x, PixelUnpackingRegions::Module.x, Primary4DVertexValidation::simPrimaryVertex.x, Rechit.x, Basic3DVector< long double >.x(), DigitizerUtility::EnergyDepositUnit.x(), VertexClassifier::GeneratedPrimaryVertex.x, reco::CastorEgamma.x(), reco::CastorJet.x(), PixelModule.x, TotemRPG4Hit.x(), PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex.x, HcalForwardAnalysis.x, L1TMuon::TriggerPrimitive::RPCData.x, hit.x, Geom::Cartesian2Cartesian3D< T >.x(), ParabolaFit::Point.x, HGCalWaferValidation::WaferInfo.x, Basic3DVector< float >.x(), Basic3DVector< Scalar >.x(), Basic3DVector< align::Scalar >.x(), Basic3DVector< T >.x(), BeamSpotDipServer.x, GaussianSumUtilities1D::FinderState.x, l1t::emtf::AMC13Header.x, QcdLowPtDQM::Vertex.x(), RecHitsSortedInPhi.x, DigitizerUtility::SignalPoint.x(), XHistogram::position.x, DD4hep_XHistogram::position.x, SiStripRecHitsValid::RecHitProperties.x, PPSPixelG4Hit.x(), PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex.x, reco::CastorCluster.x(), TrackClassifier::GeneratedPrimaryVertex.x, SiPixelCluster.x(), mathSSE::Rot2< Scalar >.x(), mathSSE::Rot2< T >.x(), funct::GaussIntegrator.x, FTLCluster.x(), cmsdt::metaPrimitive.x, Primary4DVertexValidation::recoPrimaryVertex.x, reco::Vertex.x(), MuonGeometryArrange::MGACollection.x, SOAFrame< float >.x(), SOAFrame< T >.x(), python.rootplot.utilities.Hist.x, lhef::HEPEUP::FiveVector.x, EPOS::EPOS_Wrapper.x(), BeamSpotOnlineRaw_v4.x, HGCalImagingAlgo::Hexel.x, HitDoublets.x(), hgcal_conditions::positions::HeterogeneousHGCalPositionsMapping.x, HGCalCLUEAlgoT< TILE >::CellsOnLayer.x, reco::CaloCluster.x(), RawParticle.x(), TkRotation< Scalar >.x(), TkRotation< double >.x(), TkRotation< float >.x(), TkRotation< align::Scalar >.x(), TkRotation< T >.x(), SiPixelDigitizerAlgorithm::EnergyDepositUnit.x(), MuScleFitUtils.x, SiStripTrackingRecHitsValid::RecHitProperties.x, SiPixelDigitizerAlgorithm::SignalPoint.x(), perftools::detail::Hist.x, ecal::multifit::xyz.x, hitfit::Fourvec_Event.x(), TkRotation2D< Scalar >.x(), TkRotation2D< T >.x(), PDF.x, edmStreamStallGrapher.Point.x, svgfig.Plot.x, svgfig.Frame.x, PMuonSimHit::Vtx.x, PTrackerSimHit::Vtx.x, svgfig.Text.x, svgfig.TextGlobal.x, svgfig.VLine.x, Quad.y, RPFlatParams::EP.y, BeamSpotPOD.y, reco::PixelClusterProperties.y, stAPVGain.y, EnergyDepositUnit.y(), TkLayerMap::XYbin.y, TwoBodyDecayParameters.y, AmplitudeSegmentFP420.y(), MadKinematicDescriptor.y, SignalPoint.y(), RPCCluster.y(), reco::MuonChamberMatch.y, CPPFCluster.y(), EnergySegmentFP420.y(), lumiregperbunch.bsmeas.y, Geom::Polar2Cartesian< T >.y(), CTPPSTimingRecHit.y(), SiStripFineDelayTOF.y(), CTPPSTimingLocalTrack.y, HFShowerPhoton.y(), ME0DigiPreReco.y(), SimplePixel.y, online::BeamSpot_v1.y, HGCal_helpers::Coordinates.y, PixelClusterizerBase::AccretionCluster.y, ticl::PatternRecognitionbyCLUE3D< TILES >::ClustersOnLayer.y, reco::MuonMETCorrectionData.y(), FTLCluster::FTLHit.y(), LHCInterpolatedOpticalFunctionsSet::Kinematics.y, reco::MuonRecHitCluster.y(), PhiInterval.y, reco::MuonSegmentMatch.y, ClusterShape.y, SiPixelCluster::Pixel.y, BSvsPVHistogramMaker.y(), VertexType.y, BeamSpotFakeConditions.y, RHStopTracer::StopPoint.y, TotemTestHistoClass::Hit.y, MTDClusterizerBase::AccretionCluster.y, PGlobalSimHit::Vtx.y, PV2DBase< double, PointTag, LocalTag >.y(), PV2DBase< T, PVType, FrameType >.y(), PV2DBase< T, VectorTag, FrameTag >.y(), PV2DBase< float, PointTag, LocalTag >.y(), PV2DBase< float, VectorTag, GlobalTag >.y(), PV2DBase< T, PointTag, FrameTag >.y(), egPM::AbsEtaNrClus.y, HGCalRecHitValidation::HitsInfo.y, Run3ScoutingVertex.y(), Geom::Cylindrical2Cartesian< T >.y(), MTDHit.y, HGCalDigiValidation::digiInfo.y, ScoutingVertex.y(), MuScleFitMuon.y(), BeamSpotOnline.y(), mathSSE::Rot3< T >.y(), mathSSE::Rot3< Scalar >.y(), mathSSE::Rot3< double >.y(), mathSSE::Rot3< float >.y(), mathSSE::Rot3< align::Scalar >.y(), HcalForwardAnalysis::Photon.y, Pixinfo.y, trklet::L1TStub.y(), egPM::AbsEtaNrClusPhi.y, Hit.y, PV3DBase< float, PointTag, GlobalTag >.y(), PV3DBase< Scalar, VectorTag, GlobalTag >.y(), PV3DBase< T, VectorTag, FrameTag >.y(), PV3DBase< float, VectorTag, LocalTag >.y(), PV3DBase< T, PVType, FrameType >.y(), PV3DBase< long double, PointTag, GlobalTag >.y(), PV3DBase< T, PointTag, FrameTag >.y(), PV3DBase< float, PointTag, LocalTag >.y(), PV3DBase< T, PointTag, GlobalTag >.y(), PV3DBase< Scalar, PointTag, GlobalTag >.y(), PV3DBase< align::Scalar, PointTag, GlobalTag >.y(), reco::CastorCell.y(), Basic2DVector< float >.y(), Basic2DVector< T >.y(), Basic2DVector< double >.y(), Basic2DVector< Scalar >.y(), Clust.y, HGCalSimHitValidation::hitsinfo.y, PPSDiamondG4Hit.y(), QcdLowPtDQM::Pixel.y(), MonitorTrackResidualsBase< pixel_or_strip >::HistoXY.y, reco::BeamSpot.y(), Geom::Spherical2Cartesian< T >.y(), egPM::AbsEtaNrClusEt.y, PassiveHit.y(), PixelUnpackingRegions::Module.y, Primary4DVertexValidation::simPrimaryVertex.y, python.rootplot.utilities.Hist2D.y, CTPPSLocalTrackLite.y(), Rechit.y, DigitizerUtility::EnergyDepositUnit.y(), VertexClassifier::GeneratedPrimaryVertex.y, Basic3DVector< long double >.y(), PixelModule.y, reco::CastorEgamma.y(), reco::CastorJet.y(), PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex.y, TotemRPG4Hit.y(), HcalForwardAnalysis.y, L1TMuon::TriggerPrimitive::RPCData.y, hit.y, Geom::Cartesian2Cartesian3D< T >.y(), ParabolaFit::Point.y, HGCalWaferValidation::WaferInfo.y, BeamSpotDipServer.y, Basic3DVector< T >.y(), GaussianSumUtilities1D::FinderState.y, Basic3DVector< align::Scalar >.y(), Basic3DVector< Scalar >.y(), Basic3DVector< float >.y(), QcdLowPtDQM::Vertex.y(), RecHitsSortedInPhi.y, DigitizerUtility::SignalPoint.y(), reco::Candidate.y(), XHistogram::position.y, DD4hep_XHistogram::position.y, SiStripRecHitsValid::RecHitProperties.y, PPSPixelG4Hit.y(), PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex.y, TrackClassifier::GeneratedPrimaryVertex.y, contrib::CMSBoostedTauSeedingAlgorithmStructure.y(), reco::CastorCluster.y(), mathSSE::Rot2< Scalar >.y(), mathSSE::Rot2< T >.y(), FTLCluster.y(), SiPixelCluster.y(), Primary4DVertexValidation::recoPrimaryVertex.y, MuonGeometryArrange::MGACollection.y, reco::Particle.y(), reco::Vertex.y(), SOAFrame< T >.y(), SOAFrame< float >.y(), python.rootplot.utilities.Hist.y, reco::ParticleState.y(), python.rootplot.root2matplotlib.Hist.y, CaloParticle.y(), SimCluster.y(), EPOS::EPOS_Wrapper.y(), reco::LeafCandidate.y(), BeamSpotOnlineRaw_v4.y, HGCalImagingAlgo::Hexel.y, HitDoublets.y(), TrackingParticle.y(), HGCalCLUEAlgoT< TILE >::CellsOnLayer.y, hgcal_conditions::positions::HeterogeneousHGCalPositionsMapping.y, reco::CaloCluster.y(), RawParticle.y(), TkRotation< double >.y(), TkRotation< T >.y(), TkRotation< float >.y(), TkRotation< align::Scalar >.y(), TkRotation< Scalar >.y(), Exhume::CrossSection.y, SiPixelDigitizerAlgorithm::EnergyDepositUnit.y(), SiStripTrackingRecHitsValid::RecHitProperties.y, SiPixelDigitizerAlgorithm::SignalPoint.y(), ecal::multifit::xyz.y, TkRotation2D< T >.y(), TkRotation2D< Scalar >.y(), pat::PackedGenParticle.y(), edmStreamStallGrapher.Point.y, pat::PackedCandidate.y(), svgfig.Plot.y, svgfig.Frame.y, PMuonSimHit::Vtx.y, svgfig.Curve.Sample.y, PTrackerSimHit::Vtx.y, svgfig.Text.y, svgfig.TextGlobal.y, and svgfig.HLine.y.
Referenced by data_sources.json_file.__str__().
Apply the transformation "trans" and return a Path object in global coordinates. If local=True, return a Path in local coordinates (which must be transformed again).
Definition at line 2268 of file svgfig.py.
References TrackFP420.ax(), LocalTrackFit.ax, TrackFP420.ay(), LocalTrackFit.ay, and svgfig.Ellipse.b.
def svgfig.Ellipse.SVG | ( | self, | |
trans = None |
|||
) |
Apply the transformation "trans" and return an SVG object.
Definition at line 2264 of file svgfig.py.
References SiStripHistoPlotter::PlotParameter.Path, Json::PathArgument.Path, and svgfig.Curve.Path().
svgfig.Ellipse.attr |
Definition at line 2261 of file svgfig.py.
Referenced by svgfig.Ticks.__repr__(), svgfig.Axes.__repr__(), svgfig.HGrid.__repr__(), svgfig.VGrid.__repr__(), svgfig.Grid.__repr__(), svgfig.Axes.SVG(), svgfig.XErrorBars.SVG(), and svgfig.YErrorBars.SVG().
svgfig.Ellipse.b |
Definition at line 2259 of file svgfig.py.
Referenced by svgfig.Ellipse.__repr__(), and svgfig.Ellipse.Path().
|
static |
Definition at line 2253 of file svgfig.py.
Referenced by tree.Tree.reset(), and tree.Tree.var().
svgfig.Ellipse.f |
Definition at line 2276 of file svgfig.py.
Referenced by svgfig.Ticks.__repr__(), ztail.Decoder.initial_synchronize(), and svgfig.Ticks.orient_tickmark().
svgfig.Ellipse.high |
Definition at line 2278 of file svgfig.py.
Referenced by svgfig.Ticks.__repr__(), svgfig.HGrid.__repr__(), svgfig.VGrid.__repr__(), svgfig.Ticks.compute_logminiticks(), svgfig.Ticks.compute_logticks(), svgfig.Ticks.compute_miniticks(), svgfig.Ticks.compute_ticks(), svgfig.Ticks.interpret(), svgfig.Ticks.orient_tickmark(), and svgfig.Ticks.regular_miniticks().
svgfig.Ellipse.low |
Definition at line 2277 of file svgfig.py.
Referenced by svgfig.Ticks.__repr__(), svgfig.HGrid.__repr__(), svgfig.VGrid.__repr__(), svgfig.Ticks.compute_logminiticks(), svgfig.Ticks.compute_logticks(), svgfig.Ticks.compute_miniticks(), svgfig.Ticks.compute_ticks(), svgfig.Ticks.interpret(), svgfig.Ticks.orient_tickmark(), and svgfig.Ticks.regular_miniticks().