Skip to main content

READER:

Function which reads out different files. 

Arguments

Takes everything in **kwargs.
  • 'filename': Filename + Path. Necessary. [String or Chararray]
  • 'Delimiter': Input for the delimitation. e.g. ', ', '\t ', or other types. Standard is ' '. [Single Character]
  • 'allowedChars': Set the allowed characters for the first character in a line. Can be used if line begins with a prefix or with a number. Standard are the numbers 0-10. [List]
  • 'skipLines': Number of lines to be skipped in the file. Useful if the text document starts with lines containing allowed characters but no data. [int]
  • 'flatten': Check if the resulting array has not the same number of arguments on each line. Select length of line which should pass (all other won't). [int]
  • 'datatype': datatype of read file. 'complex', 'float'

Output

File is read and returned as an array of values.
First index is line number and second index is the position on line.

COLORS

Function for colors

Arguments

Takes Literals as arguments
  • N: Number of cmap points
  • cmap_name: Name of the colormap

Output

Returns colormaps in array of RGB colors. First index is the color, and the second index selects the spectral component in R, G, B, alpha

Figurefunctions

Functions to format the figure.

Arguments

Takes literals as arguments
  • ax: Axis of figure to be formated. Necessary
  • projection: '2d', '3d' or 'contour' plot. Standard: '2d' [string or chararray]
  • labels: Dictionary with labels. keys of the dictionary: 'xlabel', 'ylabel', 'zlabel'. If one of those labels is not set, will be set to empty. Standard: {'xlabel': '', 'ylabel': '', 'zlabel': ''} [Dict]
  • fontsize: Fontsize of the axis labels. Standard: 14 [int]
  • ticksize: Fontsize of the tick labels. Standard: 14 [int]
  • ticksepeartionx: Set the spacing between the x-ticks. e.g. 2 will select every second tick to be labeled. Standard: 2 [int]
  • ticksepeartiony: Set the spacing between the y-ticks. e.g. 2 will select every second tick to be labeled. Standard: 2 [int]
  • tickoffsetx: offsets the tick-selection in x-direction. Standard: 0 [int, in 0 to tickseparationx]
  • tickoffsety: offsets the tick-selection in y-direction. Standard: 0 [int, in 0 to tickseparationy]

Output

Axis is processed and returned. 

Plotter

Function for Plotting. 

Arguments

Takes kwargs as arguments
  • 'SweepType': '1D': Only one x and y, 'Multiple': Overlay multiple x and y tuples, '2D': Plots a contourf plot of the x, y and z
  • 'scale': 'lin' or 'log'
  • 'Constrain': Argument to constrain the axes, dictionary.
    • 'Bool': False or True: disables or enables the function
    • 'xlim_min/max': Min/max of x-axis. [int, float]
    • 'ylim_min/max': Min/max of y-axis. [int, float]
  • ticksepeartionx: Set the spacing between the x-ticks. e.g. 2 will select every second tick to be labeled. Standard: 2 [int]
  • ticksepeartiony: Set the spacing between the y-ticks. e.g. 2 will select every second tick to be labeled. Standard: 2 [int]
  • tickoffsetx: offsets the tick-selection in x-direction. Standard: 0 [int, in 0 to tickseparationx]
  • tickoffsety: offsets the tick-selection in y-direction. Standard: 0 [int, in 0 to tickseparationy]
  • 'legend': Bool, shows legend
  • 'show': Bool, Show image or not. Std is show.

Release files for fGQLED 0.17.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for fGQLED 0.17.1
File Interpreter ABI Platform
fGQLED-0.17.1-py3-none-any.whl Python 3 none any Details

Release files / fGQLED-0.17.1-py3-none-any.whl

Download URL fGQLED-0.17.1-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
481f1ac6554061b5416d6d52b109c7db9d81ad720d969b9b69b6582430e3cc12
BLAKE2b-256 checksum
How to use checksums
1d64539ffdd677c1aa5e6d70cf82997a8fdfc895d5cee1af2ce82f1b391e05fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.1

Release history Release notifications | RSS feed

This release

0.17.1 This release

1 release file

0.17

2 release files

0.16

2 release files

0.15

2 release files

0.14

2 release files

0.13

2 release files

0.12

1 release file

0.11

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page