Trees | Index | Help |
---|
Module gwy |
|
Classes | |
---|---|
Axis |
|
CDLine |
|
ColorAxis |
|
ColorButton |
ColorButton The selected color. |
Container |
Container The Container struct contains private
data only and should be accessed using the functions below. |
Curve |
|
DataField |
DataField The DataField struct contains private
data only and should be accessed using the functions below. |
DataLine |
DataLine The DataLine struct contains private data
only and should be accessed using the functions below. |
DataView |
DataView The ::layer-unplugged signal is emitted when a layer is
unplugged from a DataView . |
DataViewLayer |
The ::updated signal is emitted when a
DataViewLayer is updated; the exact means how a layer
can be updated depends its type. |
DataWindow |
|
GLMaterial |
The GLMaterial struct contains private data only
and should be accessed using the functions below. |
Gradient |
Gradient struct contains private data only and
should be accessed using the functions below. |
Graph |
|
GraphArea |
GraphArea The ::data-changed signal is emitted when a curve properties are to be edited. |
GraphCurveModel |
GraphCurveModel The ::data-changed signal is emitted whenever curve
data is set with a function like
Graph.curve_model_set_data (). |
GraphCurves |
|
GraphData |
|
GraphLabel |
|
GraphModel |
GraphModel The ::curve-data-changed signal is emitted whenever any of
the curves in a graph model emits
GObject ::notify. |
GraphWindow |
|
Inventory |
Inventory The Inventory struct contains private
data only and should be accessed using the functions below. |
InventoryStore |
|
LayerBasic |
LayerBasic The ::presentation-switched signal is emitted when the presentation state changes, that is when a layer which displayed data directly starts displaying a presentation, or conversely when it stops displaying a presentation. |
LayerMask |
LayerMask The :color-key property is the container key used to identify mask color in container. |
MarkerBox |
The ::markers-set signal is emitted when markers are explicitly set
with MarkerBox.set_markers (). |
NLFitPreset |
|
NullStore |
|
PixmapLayer |
The :data-key property is the container key used to identify displayed
DataField in container. |
PlainTool |
|
Resource |
The Resource struct contains private data only and
should be accessed using the functions below. |
ResourceEditor |
|
Ruler |
|
SciText |
SciText The ::edited signal is emitted when the text in its entry changes to a valid markup. |
Selection |
The Selection struct describes an abstract
selection as a collection of coordinates. |
SensitivityGroup |
|
Shader |
Shader The ::angle-changed signal is emitted when the spherical angle changes. |
SIUnit |
The SIUnit struct contains private data only and
should be accessed using the functions below. |
Spectra |
Spectra The Spectra struct contains private data
only and should be accessed using the functions below. |
Statusbar |
|
StringList |
StringList The StringList struct contains private
data only and should be accessed using the functions below. |
VectorLayer |
The ::object-chosen signal is emitted when user starts interacting with a selection object, even before modifying it. |
Function Summary | |
---|---|
Gets the tooltips object used for adding tooltips to 3D window parts. | |
Sets the tooltips object to use for adding tooltips to 3D window parts. | |
Adds main (global) application accelerator group to a window. | |
Adds a channel title based on data field units. | |
Adds a data container to the application data browser. | |
Adds a data field to a data container. | |
Adds a graph model to a data container. | |
Adds a spectra object to a data container. | |
Copies a channel including all auxiliary data. | |
Calls a function for each data container managed by data browser. | |
Get list of containers of current data browser. | |
Get current object of given type. | |
Gets the list of all channels in a data container. | |
Gets data browser behaviour for inaccessible data. | |
Merges the data from a data container to the current one. | |
Removed a data container from the application data browser. | |
Resets visibility of all data objects in a container. | |
Restores the data browser window. | |
Makes a data field (channel) current in the data browser. | |
Switches application data browser to display container of data_view 's data and selects
data_view 's data in the channel list. | |
Switches application data browser to display container of graph 's data and selects graph 's
data in the graph list. | |
Makes a graph model (channel) current in the data browser. | |
Switches application data browser to display container of spectra 's data and selects
spectra 's data in the graph list. | |
Sets data browser behaviour for inaccessible data. | |
Shows the data browser window. | |
Shows a 3D window displaying a channel. | |
Releases data browser resources and saves its state. | |
Clears all selections associated with a data channel. | |
Runs mask color selector on a data view. | |
Asks for file overwrite for a file save chooser. | |
Load specified file | |
Merges a user-selected file (very high-level app function). | |
Opens a user-selected file (very high-level app function). | |
Saves current data to a file (very high-level app function). | |
Saves current data to a user-selected file (very high-level app function). | |
Writes container to a file (a high-level function). | |
Finds the window displaying a data channel. | |
Creates a channel thumbnail. | |
Returns: A string in GLib file name encoding that should not be modified | |
Gets a data channel title. | |
Calculates data field quark identifier from its id. | |
Calculates graph model quark identifier from its id. | |
Calculates mask field quark identifier from its id. | |
Calculates presentation field quark identifier from its id. | |
Calculates spectra quark identifier from its id. | |
Gets the application-wide tooltips instance. | |
Returns: The return value is the same as the return value of | |
Creates or presents OpenGL material editor. | |
Creates or presents color gradient editor. | |
Initializes internationalization. | |
Sets up style properties for special Gwyddion widgets. | |
Returns: The Gwyddion toolbox. | |
Gets the application recent files menu. | |
Saves application data processing function statistics. | |
Adds <guimenuitem>Re-show Last</guimenuitem> and <guimenuitem>Repeat Last</guimenuitem> items to application data process menu. | |
Quits the application. | |
Gets thumbnail of a recently open file. | |
Frees all memory taken by recent file list. | |
Loads list of recently open files from filename . | |
Saves list of recently open files to filename . | |
Moves filename_utf8 to the first position in
document history, possibly adding it if not present yet. | |
Restores a window position and/or size from settings. | |
Runs a graph function on the current graph. | |
Runs a data processing function on the current data. | |
Runs a data processing function on current data in specified mode. | |
Saves position and/or size of a window to settings. | |
Adds a widget to the application-wide widget sensitvity group. | |
Gets the application-wide widget sensitvity group. | |
Sets the state of application-wide widget sensitvity group. | |
Sets what the app should use as `current directory'. | |
Sets channel title. | |
Create gwyddion config directory. | |
Returns: The error domain. | |
Frees Gwyddion settings. | |
Gets the Gwyddion settings. | |
Returns: The file name as a newly allocated string. | |
Returns: The file name as a newly allocated string. | |
Returns: The file name as a newly allocated string. | |
Loads settings file. | |
Saves the settings. | |
Switches the current tool. | |
Create a point in the undo history it is possible to return to. | |
Performs undo on a data container. | |
Performs undo on a data container. | |
Resets the cursor for a window. | |
Changes the cursor for a window to indicate work. | |
Finishes waiting, closing the dialog. | |
Sets the amount of progress the progress bar on the dialog displays. | |
Sets the message shown on the progress dialog. | |
Sets prefix for the messages shown in the progress dialog. | |
Starts waiting for a window window , creating a
dialog with a progress bar. | |
Canonicalizes a filesystem path. | |
Gets inventory with all the critical dimension evaluators. | |
Creates a new color axis. | |
Creates a new color button. | |
Creates and runs a color selector dialog for a mask. | |
Changes the unit selection displayed by a metric unit combo box. | |
Restores a container from is text representation. | |
Creates a data chooser for data channels. | |
Computes fractal dimension by cube counting method from log-log plot data. | |
Computes fractal dimension by partitioning method from log-log plot data. | |
Computes fractal dimension by spectral density function method from log-log plot data. | |
Computes fractal dimension by triangulation method from log-log plot data. | |
Calculates an upper bound of the number of samples in a circular region. | |
Calculates an upper bound of the number of samples in an elliptic region. | |
Gets the tooltips object used for adding tooltips to Data window parts. | |
Sets the tooltips object to use for adding tooltips to data window parts. | |
Returns: True . | |
Makes libgwydraw types safe for deserialization and performs other initialization. | |
Fills resampled or nely allocated data line with wavelet coefficients. | |
Returns: The entities as a Inventory . | |
Converts a single named entity entity to UTF-8
representation. | |
Converts entities in a text to UTF-8. | |
Gets the enum value corresponding to currently active combo box item. | |
Sets the active combo box item by corresponding enum value. | |
Convenience callback keeping an integer synchronized with selected enum combo box value. | |
Makes sure an enum value is valid. | |
Returns: The error domain. | |
Gets inventory with all the FD curve presets. | |
Finds a nice-for-FFT array size. | |
Multiplies data by given window. | |
Performs windowing of a data field in given direction. | |
Frees or unmmaps memory allocated by gwy_file_get_contents (). | |
Detects the type of a file. | |
Detects the type of a file and gives the score. | |
Checks whether a file type function exists. | |
Gets file function description. | |
Returns: The file operation bit mask, zero if name
does not exist. | |
Runs a file type detection function identified by name . | |
Runs a file export function identified by name . | |
Runs a file load function identified by name . | |
Runs a file save function identified by name . | |
Loads a data file, autodetecting its type. | |
Saves a data file, deciding to save as what type from the file name. | |
Checks whether file should be ignored. | |
Finds a system Gwyddion directory. | |
Gets the n-th most function from a function statistics. | |
Gets the (preferred) name for a file to store function use statistics to. | |
Returns: Something usable as user home directory. | |
gwy_get_key_from_name(name)
| |
Returns: The directory as a constant string that should not be freed. | |
Gets the name of currently selected GL material of a selection button. | |
Sets the currently selected GL material of a selection button. | |
Selects a GL material in a GL material list and scrolls to make it visible. | |
Gets inventory with all the GL materials. | |
Convenience function to get a GL material from gwy_gl_materials () by name. | |
Gets the name of currently selected gradient of a selection button. | |
Sets the currently selected gradient of a selection button. | |
Selects a gradient in a gradient list and scrolls to make it visible. | |
Gets inventory with all the gradients. | |
Convenience function to get a gradient from gwy_gradients () by name. | |
Draws a point on a drawable. | |
Checks whether a graph function exists. | |
Gets menu path of a graph function. | |
Gets menu sensititivy mask for a graph function. | |
Gets stock icon id of a graph function. | |
Gets tooltip for a graph function. | |
Runs a graph function identified by name . | |
Gets the number of distinct colors Graph.get_preset_color () can return. | |
Gets a preset graph color. | |
Gets the tooltips object used for adding tooltips to Graph window parts. | |
Sets the tooltips object to use for adding tooltips to graph window parts. | |
This function uses two-point interpolation methods to get interpolated value between two arbitrary data points. | |
Obtains the basis support size for an interpolation type. | |
Obtains the interpolating basis property of an inteprolation type. | |
Interpolates a signle data point in one dimension. | |
Interpolates a signle data point in two dimensions. | |
Creates a bold, left aligned label. | |
Registeres a layer function (layer type). | |
Creates and runs a color selector dialog for a mask. | |
Establishes wether the test point x ,
y is inside the polygon poly . | |
Shows a simple module browser. | |
Returns: The error domain. | |
Returns: The error domain. | |
Returns: Module file name as a string that must be modified or freed. | |
Gets inventory with all the NLFit presets. | |
Paints a data field to a pixbuf with an auto-stretched color gradient. | |
Paints a data field to a pixbuf with a color gradient adaptively. | |
Paints a data field to a pixbuf as a signle-color mask with varying opacity. | |
Paints a data field to a pixbuf with an explicite color gradient range. | |
Computes average value over a part of data field dfield . | |
Checks whether a data processing function exists. | |
Returns: The menu path. | |
Returns: The run mode bit mask. | |
Gets menu sensititivy mask for a data processing function. | |
Gets stock icon id of a data processing function. | |
Gets tooltip for a data processing function. | |
Runs a data processing function identified by name . | |
Makes libgwyprocess types safe for deserialization and performs other initialization. | |
Gets the integer value associated with a radio button. | |
Sets the integer value associated with a radio button. | |
Destroys the inventories of all resource classes. | |
Reconstructs a resource from human readable form. | |
Selects a resource in a list and scrolls to make it visible. | |
Removes RGBA color components from a container. | |
Saves a report or other auxiliary data to a user specified file. | |
Makes an object identical to another object of the same type. | |
Creates a copy of an object. | |
Calculates the expected size of serialized object. | |
Check whether size bytes of memory in
buffer can be interpreted as a nul-terminated string,
and eventually whether it's equal to compare_to . | |
Sets up data view zoom to not exceed specified size. | |
Translate a message id containing disambiguating prefix ending with `|'. | |
Creates a new SI unit from string representation. | |
Registers stock items. | |
Finds position where two strings differ. | |
Checks whether a string is valid identifier. | |
Removes characters in killchars from string
s , modifying it in place. | |
Replaces occurences of string needle in
haystack with replacement . | |
Attaches a spinbutton with a scale and labels, or something else to a table row. | |
Attaches a widget with two labels to a table. | |
Attaches a spinbutton with two labels to a table. | |
Finds a widget in GtkTable by its coordinates. | |
Sets sensitivity of a group of controls create by gwy_table_attach_hscale (). | |
gwy_tip_cmap(tip,
surface)
| |
gwy_tip_dilation(tip,
surface)
| |
gwy_tip_erosion(tip,
surface)
| |
gwy_tip_estimate_full(tip,
surface,
threshold,
use_edges)
| |
gwy_tip_estimate_partial(tip,
surface,
threshold,
use_edges)
| |
Find number of actual tip model presets. | |
Registeres a tool function (tool type). | |
Makes libgwyddion types safe for deserialization and performs other initialization. | |
Tests whether a container was modified. | |
Returns: True if there is redo,
False otherwise. | |
Returns: True if there is undo,
False otherwise. | |
Removes undo/redo information for a data container. | |
Marks a data container as umodified (that is, saved). | |
Performs undo on a data container. | |
Performs undo on a data container. | |
Gets the major version of Gwyddion. | |
Gets the minor version of Gwyddion. | |
Gets the full Gwyddion version as a string. | |
Obtains the activate-on-unfocus state of a widget. | |
Sets the activate-on-unfocus state of a widget. | |
Make widget's sensitivity follow the sensitivity of another widget. | |
Returns: The OpenGL framebuffer configuration, NULL if OpenGL | |
Configures an OpenGL-capable visual for 3D widgets. | |
Makes libgwydgets types safe for deserialization and performs other initialization. | |
the()
| |
TODO()
| |
z_UNIMPLEMENTED_All()
| |
z_UNIMPLEMENTED_Average()
| |
z_UNIMPLEMENTED_construct_rgi_names(pluginname)
| |
z_UNIMPLEMENTED_corresponding()
| |
z_UNIMPLEMENTED_create_user_plugin_dirs()
| |
z_UNIMPLEMENTED_dump_export_data_field(dfield,
name,
fh)
| |
z_UNIMPLEMENTED_Facet()
| |
z_UNIMPLEMENTED_file_find_plugin(name,
run)
| |
z_UNIMPLEMENTED_file_pattern_specificity(pattern)
| |
z_UNIMPLEMENTED_file_plugin_proxy_detect(filename,
only_name,
name)
| |
z_UNIMPLEMENTED_file_plugin_proxy_export(data,
filename,
mode,
error,
name)
| |
z_UNIMPLEMENTED_file_plugin_proxy_load(mode,
error,
name)
| |
z_UNIMPLEMENTED_file_register_plugins(plugins,
file,
buffer)
| |
z_UNIMPLEMENTED_Find()
| |
z_UNIMPLEMENTED_find_plugin_executables(dir,
list,
level)
| |
Returns: NULL -terminated Enum
which must not be modified nor freed. | |
z_UNIMPLEMENTED_gwy_2d_cwt_wavelet_type_get_type()
| |
z_UNIMPLEMENTED_gwy_3d_label_get_type()
| |
z_UNIMPLEMENTED_gwy_3d_movement_get_type()
| |
z_UNIMPLEMENTED_gwy_3d_projection_get_type()
| |
z_UNIMPLEMENTED_gwy_3d_setup_get_type()
| |
z_UNIMPLEMENTED_gwy_3d_view_get_type()
| |
z_UNIMPLEMENTED_gwy_3d_view_label_get_type()
| |
z_UNIMPLEMENTED_gwy_3d_visualization_get_type()
| |
z_UNIMPLEMENTED_gwy_3d_window_get_type()
| |
Constructs the application <guimenu>Graph</guimenu> menu. | |
Constructs the application <guimenu>Data Process</guimenu> menu. | |
Gets the list of all graphs in a data container. | |
Gets the list of all spectra in a data container. | |
Checks for working OpenGL and initializes it. | |
Updates recent file menu. | |
z_UNIMPLEMENTED_gwy_app_process_func_get_use()
| |
z_UNIMPLEMENTED_gwy_app_settings_error_get_type()
| |
Returns: The list of module directories as a newly allocated array of | |
Create a point in the undo history it is possible to return to. | |
z_UNIMPLEMENTED_gwy_app_what_get_type()
| |
z_UNIMPLEMENTED_gwy_axis_get_type()
| |
z_UNIMPLEMENTED_gwy_axis_scale_format_get_type()
| |
z_UNIMPLEMENTED_gwy_cdline_get_type()
| |
z_UNIMPLEMENTED_gwy_color_axis_get_type()
| |
z_UNIMPLEMENTED_gwy_color_button_get_type()
| |
z_UNIMPLEMENTED_gwy_computation_state_type_get_type()
| |
z_UNIMPLEMENTED_gwy_container_get_type()
| |
z_UNIMPLEMENTED_gwy_correlation_type_get_enum()
| |
z_UNIMPLEMENTED_gwy_correlation_type_get_type()
| |
z_UNIMPLEMENTED_gwy_curve_channel_get_type()
| |
z_UNIMPLEMENTED_gwy_curve_get_type()
| |
z_UNIMPLEMENTED_gwy_curve_type_get_type()
| |
z_UNIMPLEMENTED_gwy_cwt_wfunc_2d(scale,
mval,
xres,
wtype)
| |
z_UNIMPLEMENTED_gwy_data_chooser_get_type()
| |
z_UNIMPLEMENTED_gwy_data_compatibility_flags_get_type()
| |
z_UNIMPLEMENTED_gwy_data_field_cached_get_type()
| |
Destroys a correlation iterator, freeing all resources. | |
Performs one iteration of correlation. | |
Destroys a cross-correlation iterator, freeing all resources. | |
Performs one iteration of cross-correlation. | |
z_UNIMPLEMENTED_gwy_data_field_get_type()
| |
Destroys a watershed iterator, freeing all resources. | |
Performs one iteration of the watershed algorithm. | |
z_UNIMPLEMENTED_gwy_data_field_hough_datafield_line_to_polar(px1,
px2,
py1,
py2,
rho,
theta)
| |
Finds rotation corrections. | |
z_UNIMPLEMENTED_gwy_data_item_get_type()
| |
z_UNIMPLEMENTED_gwy_data_line_get_type()
| |
z_UNIMPLEMENTED_gwy_data_view_get_type()
| |
z_UNIMPLEMENTED_gwy_data_view_layer_get_type()
| |
z_UNIMPLEMENTED_gwy_data_view_layer_type_get_type()
| |
z_UNIMPLEMENTED_gwy_data_window_get_type()
| |
Deserializes an object with arbitrary components from gwy-file format. | |
Returns: NULL -terminated Enum
which must not be modified nor freed. | |
z_UNIMPLEMENTED_gwy_dwt_denoise_type_get_type()
| |
Returns: NULL -terminated Enum
which must not be modified nor freed. | |
z_UNIMPLEMENTED_gwy_dwt_type_get_type()
| |
z_UNIMPLEMENTED_gwy_enum_get_type()
| |
Creates a string representation of an integer enum value enumval . | |
z_UNIMPLEMENTED_gwy_expr_error_get_type()
| |
z_UNIMPLEMENTED_gwy_exterior_type_get_type()
| |
z_UNIMPLEMENTED_gwy_fd_curve_preset_get_type()
| |
Performs a DFT algorithm. | |
Calls a function for each file function. | |
Registered a file function. | |
Reads or mmaps file filename into memory. | |
Gets file information about a data. | |
z_UNIMPLEMENTED_gwy_file_operation_type_get_type()
| |
Creates a string representation of integer flag combination enumval . | |
Adds an use of a function to the statistics. | |
Destroys function use statistics, freeing all associated resourced. | |
Loads function use statistics from a file. | |
Saves function use statistics data to a file. | |
Returns: Pango FT2 font map. | |
z_UNIMPLEMENTED_gwy_gl_material_get_type()
| |
z_UNIMPLEMENTED_gwy_gradient_get_type()
| |
z_UNIMPLEMENTED_gwy_grain_quantity_get_type()
| |
z_UNIMPLEMENTED_gwy_grain_value_flags_get_type()
| |
z_UNIMPLEMENTED_gwy_grain_value_group_get_type()
| |
z_UNIMPLEMENTED_gwy_grain_value_store_column_get_type()
| |
z_UNIMPLEMENTED_gwy_graph_area_get_type()
| |
z_UNIMPLEMENTED_gwy_graph_corner_get_type()
| |
z_UNIMPLEMENTED_gwy_graph_curve_model_get_type()
| |
Returns: NULL -terminated Enum
which must not be modified nor freed. | |
z_UNIMPLEMENTED_gwy_graph_curve_type_get_type()
| |
z_UNIMPLEMENTED_gwy_graph_curves_get_type()
| |
z_UNIMPLEMENTED_gwy_graph_data_get_type()
| |
Draws a single graph curve on a drawable. | |
Draws an array of grid lines on a drawable. | |
Draws a line segment on a drawable. | |
Draws selected area on a drawable. | |
Draws selected lines on a drawable. | |
Draws selection points on a drawable. | |
Draws selected x-area on a drawable. | |
Drawss selected y-area on a drawable. | |
Calls a function for each graph function. | |
Registers a graph function. | |
z_UNIMPLEMENTED_gwy_graph_get_type()
| |
z_UNIMPLEMENTED_gwy_graph_grid_type_get_type()
| |
z_UNIMPLEMENTED_gwy_graph_label_get_type()
| |
z_UNIMPLEMENTED_gwy_graph_label_position_get_type()
| |
z_UNIMPLEMENTED_gwy_graph_model_export_style_get_type()
| |
z_UNIMPLEMENTED_gwy_graph_model_get_type()
| |
z_UNIMPLEMENTED_gwy_graph_point_type_get_type()
| |
z_UNIMPLEMENTED_gwy_graph_status_type_get_type()
| |
z_UNIMPLEMENTED_gwy_graph_window_get_type()
| |
GHashTable to GList
convertor. | |
GHashTable to GSList
convertor. | |
z_UNIMPLEMENTED_gwy_hmarker_box_get_type()
| |
z_UNIMPLEMENTED_gwy_hruler_get_type()
| |
z_UNIMPLEMENTED_gwy_hscale_style_get_type()
| |
Computes interpolated value from 2 or 4 equidistant values. | |
Resamples a one-dimensional data array. | |
Resamples a two-dimensional data array. | |
Transforms data values in a one-dimensional array to interpolation coefficients. | |
Transforms data values in a two-dimensional array to interpolation coefficients. | |
Shifts a one-dimensional data block by a possibly non-integer offset. | |
Returns: NULL -terminated Enum
which must not be modified nor freed. | |
z_UNIMPLEMENTED_gwy_interpolation_type_get_type()
| |
z_UNIMPLEMENTED_gwy_inventory_get_type()
| |
Creates a new inventory and fills it with items. | |
Creates a new inventory from static item array. | |
z_UNIMPLEMENTED_gwy_inventory_store_get_type()
| |
z_UNIMPLEMENTED_gwy_layer_basic_get_type()
| |
z_UNIMPLEMENTED_gwy_layer_basic_range_type_get_type()
| |
Calls a function for each layer function. | |
z_UNIMPLEMENTED_gwy_layer_line_restrict_angle(data_view,
endpoint,
x,
y,
xy)
| |
z_UNIMPLEMENTED_gwy_layer_mask_get_type()
| |
z_UNIMPLEMENTED_gwy_line_stat_quantity_get_type()
| |
Convenience function to emit "GtkTreeModel::row-changed" signal on a tree store. | |
z_UNIMPLEMENTED_gwy_marker_box_get_type()
| |
z_UNIMPLEMENTED_gwy_marker_operation_type_get_type()
| |
z_UNIMPLEMENTED_gwy_masking_type_get_type()
| |
Decomposes a symmetric positive definite matrix in place. | |
Solves a system of linear equations with predecomposed symmetric positive definite matrix a and right hand side
b . | |
Finds the line from coords nearest to the point
(x , y ). | |
Finds the point from coords nearest to the point
(x , y ). | |
Fits a polynom through a general (x, y) data set. | |
Finds a human-friendly representation for a range of numbers. | |
Solve a regular system of linear equations. | |
Solves a regular system of linear equations. | |
Finds median of an array of values using Quick select algorithm. | |
Numerically computes the partial derivative of a fitting function. | |
Performs a nonlinear fit of nlfit function on
(x ,y ) data. | |
Performs a nonlinear fit of nlfit function on
(x ,y ) data, allowing some fixed
parameters. | |
Completely frees a Marquardt-Levenberg nonlinear fitter. | |
Returns: The correlation coefficient. | |
Returns: The dispersion. | |
Returns: The maximum number of iterations. | |
Returns: The SD of par -th parameter. | |
Sets the maximum number of iterations for nonlinear fitter nlfit . | |
Obtains the status of the last fitting. | |
Sorts an array of doubles using a quicksort algorithm. | |
Solves a tridiagonal system of linear equations. | |
Compute the MD5 hash of a buffer. | |
Copies a block of memory swapping bytes along the way. | |
Creates a pop-up GL material menu. | |
Creates a pop-up gradient menu. | |
z_UNIMPLEMENTED_gwy_menu_sens_flags_get_type()
| |
Returns: NULL -terminated Enum
which must not be modified nor freed. | |
z_UNIMPLEMENTED_gwy_merge_type_get_type()
| |
z_UNIMPLEMENTED_gwy_module_error_get_type()
| |
z_UNIMPLEMENTED_gwy_module_file_error_get_type()
| |
Runs function on each registered module. | |
Returns: List of module function names, as a GSList that is owned by | |
Returns: The module info, of NULL if not
found. | |
Loads a single module. | |
Registers all modules in given directories. | |
z_UNIMPLEMENTED_gwy_nlfit_preset_get_type()
| |
z_UNIMPLEMENTED_gwy_null_store_get_type()
| |
Returns: NULL -terminated Enum
which must not be modified nor freed. | |
z_UNIMPLEMENTED_gwy_orientation_get_type()
| |
z_UNIMPLEMENTED_gwy_pixmap_layer_get_type()
| |
z_UNIMPLEMENTED_gwy_plain_tool_changed_get_type()
| |
z_UNIMPLEMENTED_gwy_plain_tool_get_type()
| |
z_UNIMPLEMENTED_gwy_plane_fit_quantity_get_type()
| |
Returns: NULL -terminated Enum
which must not be modified nor freed. | |
z_UNIMPLEMENTED_gwy_plane_symmetry_get_type()
| |
Calls a function for each process function. | |
Registers a data processing function. | |
Attaches a group of radio buttons to table rows. | |
Creates a radio button group from an enum. | |
Finds a radio button by its associated integer value. | |
Gets the integer enum value corresponding to currently selected item. | |
Sets currently selected radio button in group
based on integer item object data (as set by
gwy_radio_buttons_create ()). | |
z_UNIMPLEMENTED_gwy_resource_editor_get_type()
| |
z_UNIMPLEMENTED_gwy_resource_get_type()
| |
z_UNIMPLEMENTED_gwy_rgba_get_type()
| |
z_UNIMPLEMENTED_gwy_ruler_get_type()
| |
z_UNIMPLEMENTED_gwy_run_type_get_type()
| |
Saves a report or other auxiliary data to a user specified file. | |
z_UNIMPLEMENTED_gwy_sci_text_get_type()
| |
z_UNIMPLEMENTED_gwy_selection_get_type()
| |
z_UNIMPLEMENTED_gwy_selection_graph_1darea_get_type()
| |
z_UNIMPLEMENTED_gwy_selection_graph_area_get_type()
| |
z_UNIMPLEMENTED_gwy_selection_graph_line_get_type()
| |
z_UNIMPLEMENTED_gwy_selection_graph_point_get_type()
| |
z_UNIMPLEMENTED_gwy_selection_graph_zoom_get_type()
| |
z_UNIMPLEMENTED_gwy_sensitivity_group_get_type()
| |
Restores a serialized object from byte buffer. | |
z_UNIMPLEMENTED_gwy_serializable_get_type()
| |
Serializes an object to byte buffer. | |
Calculates serialized object size for hash-like objects. | |
Calculates serialized object size for struct-like objects. | |
Serializes an object to buffer in gwy-file format. | |
Appends serialization of object with g_type_name() B{C{object_name}} and components described by B{C{spec}} to B{C{buffer}} in gwy-file format. | |
Deserializes an object with named components packed into gwy-file format by L{gwy_serialize_pack_object_struct}(). | |
z_UNIMPLEMENTED_gwy_shader_get_type()
| |
z_UNIMPLEMENTED_gwy_si_unit_format_style_get_type()
| |
z_UNIMPLEMENTED_gwy_si_unit_get_type()
| |
Frees a value format structure. | |
Sets the units field of a value format structure. | |
z_UNIMPLEMENTED_gwy_spectra_get_type()
| |
z_UNIMPLEMENTED_gwy_statusbar_get_type()
| |
Extracts a next line from a character buffer, modifying it in place. | |
z_UNIMPLEMENTED_gwy_string_list_get_type()
| |
Creates an integer representation of a string enum value str . | |
Creates an integer flag combination of its string representation str . | |
z_UNIMPLEMENTED_gwy_ticks_style_get_type()
| |
Get data related to tip preset. | |
Get data related to preset with specified name. | |
Get group name of preset (e. | |
Get preset identifier within all presets. | |
Get number of tip preset parameters. | |
Get name of the preset (e. | |
z_UNIMPLEMENTED_gwy_tip_type_get_type()
| |
Calls a function for each tool function. | |
z_UNIMPLEMENTED_gwy_tool_switch_event_get_type()
| |
z_UNIMPLEMENTED_gwy_transform_direction_get_type()
| |
Create a point in the undo history it is possible to return to. | |
Create a point in the undo history it is possible to return to. | |
z_UNIMPLEMENTED_gwy_units_placement_get_type()
| |
z_UNIMPLEMENTED_gwy_vector_layer_get_type()
| |
z_UNIMPLEMENTED_gwy_visibility_reset_type_get_type()
| |
z_UNIMPLEMENTED_gwy_vruler_get_type()
| |
z_UNIMPLEMENTED_gwy_watershed_state_type_get_type()
| |
Returns: NULL -terminated Enum
which must not be modified nor freed. | |
z_UNIMPLEMENTED_gwy_windowing_type_get_type()
| |
z_UNIMPLEMENTED_match_line(res,
ref,
cmp,
maxoff,
offset,
score)
| |
z_UNIMPLEMENTED_open_temporary_file(filename,
error)
| |
z_UNIMPLEMENTED_Orthodromic()
| |
z_UNIMPLEMENTED_proc_find_plugin(name,
run)
| |
z_UNIMPLEMENTED_proc_plugin_proxy_run(data,
run,
name)
| |
z_UNIMPLEMENTED_proc_register_plugins(plugins,
file,
buffer)
| |
z_UNIMPLEMENTED_reads()
| |
z_UNIMPLEMENTED_register_plugins(plugins,
dir,
register_func)
| |
z_UNIMPLEMENTED_remember()
| |
z_UNIMPLEMENTED_Root()
| |
z_UNIMPLEMENTED_Roughness()
| |
z_UNIMPLEMENTED_text_dump_export(data,
filename,
error)
| |
z_UNIMPLEMENTED_XXX()
|
Function Details |
---|
gwy_3d_window_class_get_tooltips()Gets the tooltips object used for adding tooltips to 3D window parts.
|
gwy_3d_window_class_set_tooltips(tips)Sets the tooltips object to use for adding tooltips to 3D window parts. This is a class method. It affects only newly cerated 3D windows, existing 3D windows will continue to use the tooltips they were constructed with. If no class tooltips object is set before first3DWindow is created, the class instantiates one on
its own. You can normally obtain it with gwy_3d_window_class_get_tooltips () then.
The class takes a reference on the tooltips in either case.
|
gwy_app_add_main_accel_group(window)Adds main (global) application accelerator group to a window.
|
gwy_app_channel_title_fall_back(data, id)Adds a channel title based on data field units. The guess is very simple, but probably better than `Unknown channel' in most cases. If there already is a title it is left intact, making use of this function as a fall-back easier.
|
gwy_app_data_browser_add(data)Adds a data container to the application data browser. The data browser takes a reference on the container so you can release yours.
|
gwy_app_data_browser_add_data_field(dfield, data, showit)Adds a data field to a data container. |
gwy_app_data_browser_add_graph_model(gmodel, data, showit)Adds a graph model to a data container.
|
gwy_app_data_browser_add_spectra(spectra, data, showit)Adds a spectra object to a data container.
|
gwy_app_data_browser_copy_channel(source, id, dest)Copies a channel including all auxiliary data. |
gwy_app_data_browser_foreach(function, user_data)Calls a function for each data container managed by data browser.
|
gwy_app_data_browser_get_containers()Get list of containers of current data browser.
|
gwy_app_data_browser_get_current(obj_type)Get current object of given type.
|
gwy_app_data_browser_get_data_ids(container)Gets the list of all channels in a data container. The container must be known to the data browser.
|
gwy_app_data_browser_get_keep_invisible(data)Gets data browser behaviour for inaccessible data.
|
gwy_app_data_browser_merge(data)Merges the data from a data container to the current one. Since: 2.7
|
gwy_app_data_browser_remove(data)Removed a data container from the application data browser.
|
gwy_app_data_browser_reset_visibility(data, reset_type)Resets visibility of all data objects in a container.
|
gwy_app_data_browser_restore()Restores the data browser window. The data browser window is always created (if it does not exist). If it should be visible according to settings, is shown at the saved position. Otherwise it is kept hidden untilgwy_app_data_browser_show ().
|
gwy_app_data_browser_select_data_field(data, id)Makes a data field (channel) current in the data browser.
|
gwy_app_data_browser_select_data_view(data_view)Switches application data browser to display container ofdata_view 's data and selects
data_view 's data in the channel list.
|
gwy_app_data_browser_select_graph(graph)Switches application data browser to display container ofgraph 's data and selects
graph 's data in the graph list.
|
gwy_app_data_browser_select_graph_model(data, id)Makes a graph model (channel) current in the data browser.
|
gwy_app_data_browser_select_spectra(spectra)Switches application data browser to display container of
However, it is not actually supposed to work with spectra from a different container than those of the currently active channel, so do not try that for now. Since: 2.7
|
gwy_app_data_browser_set_keep_invisible(data, keep_invisible)Sets data browser behaviour for inaccessible data. Normally, when all visual objects belonging to a file are closed the container is removed from the data browser and dereferenced, leading to its finalization. By settingkeep_invisible to
True the container can be made to sit in the
browser indefinitely.
|
gwy_app_data_browser_show()Shows the data browser window. If the window does not exist, it is created. |
gwy_app_data_browser_show_3d(data, id)Shows a 3D window displaying a channel. If a 3D window of the specified channel already exists, it is just presented to the user. If it does not exist, it is created. The caller must ensure 3D display is available, for example by checkinggwy_app_gl_is_ok ().
|
gwy_app_data_browser_shut_down()Releases data browser resources and saves its state. |
gwy_app_data_clear_selections(data, id)Clears all selections associated with a data channel. This is the preferred selection handling after changes in data geometry as they have generally unpredictable effects on selections. Selection should not be removed because this is likely to make the current tool stop working.
|
gwy_app_data_view_change_mask_color(data_view)Runs mask color selector on a data view. This is a convenience function to rungwy_color_selector_for_mask (), possibly
taking the initial color from settings.
|
gwy_app_file_confirm_overwrite(chooser)Asks for file overwrite for a file save chooser.
|
gwy_app_file_load(filename)Load specified file
|
gwy_app_file_merge()Merges a user-selected file (very high-level app function). Since: 2.7 |
gwy_app_file_open()Opens a user-selected file (very high-level app function). |
gwy_app_file_save()Saves current data to a file (very high-level app function). May fall back togwy_app_file_save_as () when current data
has no file name associated with it, or the format it was loaded from
is not saveable.
|
gwy_app_file_save_as()Saves current data to a user-selected file (very high-level app function). |
gwy_app_file_write(data, filename_utf8, filename_sys, name)Writes container to a file (a high-level function). At least one of
|
gwy_app_find_window_for_channel(data, id)Finds the window displaying a data channel.
|
gwy_app_get_channel_thumbnail(data, id, max_width, max_height)Creates a channel thumbnail.
|
gwy_app_get_current_directory()Returns: A string in GLib file name encoding that should not be modified
|
gwy_app_get_data_field_title(data, id)Gets a data channel title. This function should return a reasoanble title for untitled channels, channels with old titles, channels with and without a file, etc.
|
gwy_app_get_data_key_for_id(id)Calculates data field quark identifier from its id.
|
gwy_app_get_graph_key_for_id(id)Calculates graph model quark identifier from its id.
|
gwy_app_get_mask_key_for_id(id)Calculates mask field quark identifier from its id.
|
gwy_app_get_show_key_for_id(id)Calculates presentation field quark identifier from its id.
|
gwy_app_get_spectra_key_for_id(id)Calculates spectra quark identifier from its id.
|
gwy_app_get_tooltips()Gets the application-wide tooltips instance.
|
gwy_app_gl_is_ok()Returns: The return value is the same as the return value of
|
gwy_app_gl_material_editor()Creates or presents OpenGL material editor. Material editor is singleton, therefore if it doesn't exist, this function creates and displays it. If it already exists, it simply calls gtk_window_present() on the existing instance. It exists until it's closed by user. |
gwy_app_gradient_editor()Creates or presents color gradient editor. Gradient editor is singleton, therefore if it doesn't exist, this function creates and displays it. If it already exists, it simply calls gtk_window_present() on the existing instance. It exists until it's closed by user. |
gwy_app_init_i18n()Initializes internationalization. Normally not needed to call explicitly. |
gwy_app_init_widget_styles()Sets up style properties for special Gwyddion widgets. Normally not needed to call explicitly. |
gwy_app_main_window_get()Returns: The Gwyddion toolbox.
|
gwy_app_menu_recent_files_get()Gets the application recent files menu. The menu is initially empty and can be updated withgwy_app_menu_recent_files_update (). This function is
essentially useful only for toolbox construction.
|
gwy_app_process_func_save_use()Saves application data processing function statistics. |
gwy_app_process_menu_add_run_last(menu)Adds <guimenuitem>Re-show Last</guimenuitem> and <guimenuitem>Repeat Last</guimenuitem> items to application data process menu. This function is essentially useful only for toolbox construction.
|
gwy_app_quit()Quits the application. This function may present a confirmation dialog to the user and it may let the application to continue running. If it quits the application, it performs some shutdown actions and then quits the Gtk+ main loop with gtk_main_quit().
|
gwy_app_recent_file_get_thumbnail(filename_utf8)Gets thumbnail of a recently open file.
|
gwy_app_recent_file_list_free()Frees all memory taken by recent file list. Should not be called while the recent file menu still exists. |
gwy_app_recent_file_list_load(filename)Loads list of recently open files from
gwy_app_recent_file_list_free () first).
Must be called before any other document history function can be used,
even if on a nonexistent file: use NULL as
filename in that case.
|
gwy_app_recent_file_list_save(filename)Saves list of recently open files tofilename .
|
gwy_app_recent_file_list_update(data, filename_utf8, filename_sys, hint)Moves filename_utf8 ,
filename_sys should be set.
|
gwy_app_restore_window_position(window, prefix, grow_only)Restores a window position and/or size from settings. Unlike Note to restore position (not size) it should be called twice for each window to accommodate sloppy window managers: once before the window is shown, second time immediately after showing the window. Some sanity checks are included, therefore if saved window position and/or size is too suspicious, it is not restored.
|
gwy_app_run_graph_func(name)Runs a graph function on the current graph.
|
gwy_app_run_process_func(name)Runs a data processing function on the current data. From the run modes functionname supports, the
most interactive one is selected.
|
gwy_app_run_process_func_in_mode(name, run)Runs a data processing function on current data in specified mode.
|
gwy_app_save_window_position(window, prefix, position, size)Saves position and/or size of a window to settings. Some sanity checks are included, therefore if window position and/or size is too suspicious, it is not saved.
|
gwy_app_sensitivity_add_widget(widget, mask)Adds a widget to the application-wide widget sensitvity group. The semantics of this function is the same asSensitivityGroup.add_widget () (in fact,
it's a simple wrapper around it).
|
gwy_app_sensitivity_get_group()Gets the application-wide widget sensitvity group. The flags to be used with this sensitvity group are defined inMenuSensFlags .
|
gwy_app_sensitivity_set_state(affected_mask, state)Sets the state of application-wide widget sensitvity group. The semantics of this function is the same asSensitivityGroup.set_state () (in fact,
it's a simple wrapper around it).
|
gwy_app_set_current_directory(directory)Sets what the app should use as `current directory'. Warning: This function is probably temporary.
|
gwy_app_set_data_field_title(data, id, name)Sets channel title.
|
gwy_app_settings_create_config_dir()Create gwyddion config directory.
|
gwy_app_settings_error_quark()Returns: The error domain.
|
gwy_app_settings_free()Frees Gwyddion settings. Should not be called only by main application. |
gwy_app_settings_get()Gets the Gwyddion settings. The settings are aContainer automatically
loaded at program startup and saved ad its exit. For storing persistent
module data you should use
<literal>"/module/YOUR_MODULE_NAME/"</literal>
prefix.
|
gwy_app_settings_get_log_filename()Returns: The file name as a newly allocated string.
|
gwy_app_settings_get_recent_file_list_filename()Returns: The file name as a newly allocated string.
|
gwy_app_settings_get_settings_filename()Returns: The file name as a newly allocated string.
|
gwy_app_settings_load(filename)Loads settings file.
|
gwy_app_settings_save(filename)Saves the settings. Usegwy_app_settings_get_settings_filename ()
to obtain a suitable default filename.
|
gwy_app_switch_tool(toolname)Switches the current tool.
|
gwy_app_undo_qcheckpointv(data, n, keys)Create a point in the undo history it is possible to return to. In addition to whatgwy_undo_checkpointv () does, this
function takes care of updating application controls state.
|
gwy_app_undo_redo_container(data)Performs undo on a data container. It must have redo available. In addition to whatgwy_undo_redo_container () does, this
function takes care of updating application controls state.
|
gwy_app_undo_undo_container(data)Performs undo on a data container. It must have undo available. In addition to whatgwy_undo_undo_container () does, this
function takes care of updating application controls state.
|
gwy_app_wait_cursor_finish(window)Resets the cursor for a window. This function lets the Gtk+ main loop to run. If the window cursor was non-default before
|
gwy_app_wait_cursor_start(window)Changes the cursor for a window to indicate work. This function lets the Gtk+ main loop to run. Since: 2.3
|
gwy_app_wait_finish()Finishes waiting, closing the dialog. No function like |
gwy_app_wait_set_fraction(fraction)Sets the amount of progress the progress bar on the dialog displays.
|
gwy_app_wait_set_message(message)Sets the message shown on the progress dialog. See alsogwy_app_wait_set_message_prefix () which
makes this function more usable directly as a callback.
|
gwy_app_wait_set_message_prefix(prefix)Sets prefix for the messages shown in the progress dialog. The prefix will take effect in the nextgwy_app_wait_set_message () call.
|
gwy_app_wait_start(window, message)Starts waiting for a window
|
gwy_canonicalize_path(path)Canonicalizes a filesystem path. Particularly it makes the path absolute, resolves `..' and `.', and fixes slash sequences to single slashes. On Win32 it also converts all backslashes to slashes along the way. Note this function does NOT resolve symlinks, use g_file_read_link() for that.
|
gwy_cdlines()Gets inventory with all the critical dimension evaluators.
|
gwy_color_axis_new_with_range(orientation, min, max)Creates a new color axis.
|
gwy_color_button_new_with_color(color)Creates a new color button.
|
gwy_color_selector_for_mask(dialog_title, color_button, container, prefix)Creates and runs a color selector dialog for a mask. Seegwy_mask_color_selector_run () for
details.
|
gwy_combo_box_metric_unit_set_unit(combo, _from, to, unit)Changes the unit selection displayed by a metric unit combo box. Since: 2.5
|
gwy_container_deserialize_from_text(text)Restores a container from is text representation.
|
gwy_data_chooser_new_channels()Creates a data chooser for data channels.
|
gwy_data_field_fractal_cubecounting_dim(xresult, yresult, a, b)Computes fractal dimension by cube counting method from log-log plot data. Thexresult and yresult data
lines are usually calculated by DataField.fractal_cubecounting ().
|
gwy_data_field_fractal_partitioning_dim(xresult, yresult, a, b)Computes fractal dimension by partitioning method from log-log plot data. Thexresult and yresult data
lines are usually calculated by DataField.fractal_partitioning ().
|
gwy_data_field_fractal_psdf_dim(xresult, yresult, a, b)Computes fractal dimension by spectral density function method from log-log plot data. Thexresult and yresult data
lines are usually calculated by DataField.fractal_psdf ().
|
gwy_data_field_fractal_triangulation_dim(xresult, yresult, a, b)Computes fractal dimension by triangulation method from log-log plot data. Thexresult and yresult data
lines are usually calculated by DataField.fractal_triangulation ().
|
gwy_data_field_get_circular_area_size(radius)Calculates an upper bound of the number of samples in a circular region.
|
gwy_data_field_get_elliptic_area_size(width, height)Calculates an upper bound of the number of samples in an elliptic region.
|
gwy_data_window_class_get_tooltips()Gets the tooltips object used for adding tooltips to Data window parts.
|
gwy_data_window_class_set_tooltips(tips)Sets the tooltips object to use for adding tooltips to data window parts. This is a class method. It affects only newly cerated data windows, existing data windows will continue to use the tooltips they were constructed with. If no class tooltips object is set before firstDataWindow is created, the class instantiates one
on its own. You can normally obtain it with
DataWindow.class_get_tooltips () then. The class takes a
reference on the tooltips in either case.
|
gwy_dialog_prevent_delete_cb()Returns:True .
|
gwy_draw_type_init()Makes libgwydraw types safe for deserialization and performs other initialization. You have to call this function before using objects from libgwydraw. Calls |
gwy_dwt_set_coefficients(dline, type)Fills resampled or nely allocated data line with wavelet coefficients.
|
gwy_entities()Returns: The entities as aInventory .
|
gwy_entities_entity_to_utf8(entity)Converts a single named entity
|
gwy_entities_text_to_utf8(text)Converts entities in a text to UTF-8.
|
gwy_enum_combo_box_get_active(combo)Gets the enum value corresponding to currently active combo box item.
|
gwy_enum_combo_box_set_active(combo, active)Sets the active combo box item by corresponding enum value.
|
gwy_enum_combo_box_update_int(combo, integer)Convenience callback keeping an integer synchronized with selected enum combo box value.
|
gwy_enum_sanitize_value(enumval, enum_type)Makes sure an enum value is valid.
|
gwy_expr_error_quark()Returns: The error domain.
|
gwy_fd_curve_presets()Gets inventory with all the FD curve presets.
|
gwy_fft_find_nice_size(size)Finds a nice-for-FFT array size. The `nice' means three properties are guaranteed: it is greater than
or equal to
|
gwy_fft_window(n, data, windowing)Multiplies data by given window.
|
gwy_fft_window_data_field(dfield, orientation, windowing)Performs windowing of a data field in given direction.
|
gwy_file_abandon_contents(buffer, size)Frees or unmmaps memory allocated bygwy_file_get_contents ().
|
gwy_file_detect(filename, only_name, operations)Detects the type of a file.
|
gwy_file_detect_with_score(filename, only_name, operations, score)Detects the type of a file and gives the score.
|
gwy_file_func_exists(name)Checks whether a file type function exists.
|
gwy_file_func_get_description(name)Gets file function description. That is, thefile_desc field of
FileFuncInfo .
|
gwy_file_func_get_operations(name)Returns: The file operation bit mask, zero ifname does not exist.
|
gwy_file_func_run_detect(name, filename, only_name)Runs a file type detection function identified by
Value of gwy_file_detect () if you simply want to
detect a file type.
|
gwy_file_func_run_export(name, data, filename, mode)Runs a file export function identified by
It guarantees the container lifetime spans through the actual file saving, so the module function doesn't have to care about it. This is a low-level function, consider usinggwy_file_save () if you simply want to
save a file.
|
gwy_file_func_run_load(name, filename, mode)Runs a file load function identified by
gwy_file_load () if you simply want to
load a file.
|
gwy_file_func_run_save(name, data, filename, mode)Runs a file save function identified by
It guarantees the container lifetime spans through the actual file saving, so the module function doesn't have to care about it. This is a low-level function, consider usinggwy_file_save () if you simply want to
save a file.
|
gwy_file_load(filename, mode)Loads a data file, autodetecting its type.
|
gwy_file_save(data, filename, mode)Saves a data file, deciding to save as what type from the file name. It tries to find a module implementingFILE_OPERATION_SAVE first, when it does not
succeed, it falls back to
FILE_OPERATION_EXPORT .
|
gwy_filename_ignore(filename_sys)Checks whether file should be ignored. This function checks for common file names indicating files that should be normally ignored. Currently it means backup files (ending with ~ or .bak) and Unix hidden files (starting with a dot).
|
gwy_find_self_dir(dirname)Finds a system Gwyddion directory. On Unix, a compiled-in path is returned, unless it's overriden with environment variables (see gwyddion manual page). On Win32, the directory where the libgwyddion DLL from which this function was called resides is taken as the base and the location of other Gwyddion directories is calculated from it. The returned value is not actually tested for existence, it's up to caller. To obtain the Gwyddion user directory seegwy_get_user_dir ().
|
gwy_func_use_get(functions, i)Gets the n-th most function from a function statistics.
|
gwy_func_use_get_filename(type)Gets the (preferred) name for a file to store function use statistics to.
|
gwy_get_home_dir()Returns: Something usable as user home directory. It may be silly, but
|
gwy_get_user_dir()Returns: The directory as a constant string that should not be freed.
|
gwy_gl_material_selection_get_active(selection)Gets the name of currently selected GL material of a selection button.
|
gwy_gl_material_selection_set_active(selection, active)Sets the currently selected GL material of a selection button.
|
gwy_gl_material_tree_view_set_active(treeview, active)Selects a GL material in a GL material list and scrolls to make it visible.
|
gwy_gl_materials()Gets inventory with all the GL materials.
|
gwy_gl_materials_get_gl_material(name)Convenience function to get a GL material fromgwy_gl_materials () by name.
|
gwy_gradient_selection_get_active(selection)Gets the name of currently selected gradient of a selection button.
|
gwy_gradient_selection_set_active(selection, active)Sets the currently selected gradient of a selection button.
|
gwy_gradient_tree_view_set_active(treeview, active)Selects a gradient in a gradient list and scrolls to make it visible.
|
gwy_gradients()Gets inventory with all the gradients.
|
gwy_gradients_get_gradient(name)Convenience function to get a gradient fromgwy_gradients () by name.
|
gwy_graph_draw_point(drawable, gc, x, y, type, size, color)Draws a point on a drawable.
|
gwy_graph_func_exists(name)Checks whether a graph function exists.
|
gwy_graph_func_get_menu_path(name)Gets menu path of a graph function. The returned menu path is only the tail part registered by the function, i.e., without any leading "/Graph".
|
gwy_graph_func_get_sensitivity_mask(name)Gets menu sensititivy mask for a graph function.
|
gwy_graph_func_get_stock_id(name)Gets stock icon id of a graph function.
|
gwy_graph_func_get_tooltip(name)Gets tooltip for a graph function.
|
gwy_graph_func_run(name, graph)Runs a graph function identified byname .
|
gwy_graph_get_n_preset_colors()Gets the number of distinct colorsGraph.get_preset_color () can return.
|
gwy_graph_get_preset_color(i)Gets a preset graph color. Preset colors are a set of selected colors one can use to distingush graph curves when there is no reason to prefer a particular color. Note they can occasionally change between version, even their number can change.
|
gwy_graph_window_class_get_tooltips()Gets the tooltips object used for adding tooltips to Graph window parts.
|
gwy_graph_window_class_set_tooltips(tips)Sets the tooltips object to use for adding tooltips to graph window parts. This is a class method. It affects only newly created graph windows, existing graph windows will continue to use the tooltips they were constructed with. If no class tooltips object is set before firstGraphWindow is created, the class instantiates one
on its own. You can normally obtain it with
Graph.window_class_get_tooltips () then. The class takes a
reference on the tooltips in either case.
|
gwy_interpolation_get_dval(x, x1_, y1_, x2_, y2_, interpolation)This function uses two-point interpolation methods to get interpolated value between two arbitrary data points.
|
gwy_interpolation_get_support_size(interpolation)Obtains the basis support size for an interpolation type.
|
gwy_interpolation_has_interpolating_basis(interpolation)Obtains the interpolating basis property of an inteprolation type. Interpolation types with inteprolating basis directly use data
values for interpolation. For these types
|
gwy_interpolation_interpolate_1d(x, coeff, interpolation)Interpolates a signle data point in one dimension. The interpolation basis support size can be obtained generically withgwy_interpolation_get_support_size ().
|
gwy_interpolation_interpolate_2d(x, y, rowstride, coeff, interpolation)Interpolates a signle data point in two dimensions.
|
gwy_label_new_header(text)Creates a bold, left aligned label. The purpose of this function is to avoid propagation of too much markup to translations (and to reduce code clutter by avoiding dummy constructor and left-aligning automatically).
|
gwy_layer_func_register(type)Registeres a layer function (layer type).
|
gwy_mask_color_selector_run(dialog_title, parent, color_button, container, prefix)Creates and runs a color selector dialog for a mask. Note this function does not return anything, it runs the color selection dialog modally and returns when it is finished. Since: 2.1
|
gwy_math_is_in_polygon(x, y, poly, n)Establishes wether the test point
|
gwy_module_browser()Shows a simple module browser. |
gwy_module_error_quark()Returns: The error domain.
|
gwy_module_file_error_quark()Returns: The error domain.
|
gwy_module_get_filename(name)Returns: Module file name as a string that must be modified or freed.
|
gwy_nlfit_presets()Gets inventory with all the NLFit presets.
|
gwy_pixbuf_draw_data_field(pixbuf, data_field, gradient)Paints a data field to a pixbuf with an auto-stretched color gradient. Minimum data value is mapped to start ofgradient , maximum value to its end, values between
are mapped linearly to gradient .
|
gwy_pixbuf_draw_data_field_adaptive(pixbuf, data_field, gradient)Paints a data field to a pixbuf with a color gradient adaptively. The mapping from data field (minimum, maximum) range to gradient is nonlinear, deformed using inverse function to height density cummulative distribution.
|
gwy_pixbuf_draw_data_field_as_mask(pixbuf, data_field, color)Paints a data field to a pixbuf as a signle-color mask with varying opacity. Values equal or smaller to 0.0 are drawn as fully transparent, values greater or equal to 1.0 as fully opaque, values between are linearly mapped to pixel opacity.
|
gwy_pixbuf_draw_data_field_with_range(pixbuf, data_field, gradient, minimum, maximum)Paints a data field to a pixbuf with an explicite color gradient range. minimum and all smaller values are mapped to
start of gradient , maximum and
all greater values to its end, values between are mapped linearly to
gradient .
|
gwy_plain_tool_get_z_average(data_field, point, radius)Computes average value over a part of data field
|
gwy_process_func_exists(name)Checks whether a data processing function exists.
|
gwy_process_func_get_menu_path(name)Returns: The menu path. The returned string is owned by the module.
|
gwy_process_func_get_run_types(name)Returns: The run mode bit mask.
|
gwy_process_func_get_sensitivity_mask(name)Gets menu sensititivy mask for a data processing function.
|
gwy_process_func_get_stock_id(name)Gets stock icon id of a data processing function.
|
gwy_process_func_get_tooltip(name)Gets tooltip for a data processing function.
|
gwy_process_func_run(name, data, run)Runs a data processing function identified byname .
|
gwy_process_type_init()Makes libgwyprocess types safe for deserialization and performs other initialization. You have to call this function before using objects from libgwyprocess. Calls |
gwy_radio_button_get_value(button)Gets the integer value associated with a radio button.
|
gwy_radio_button_set_value(button, value)Sets the integer value associated with a radio button. This function allow to change associated radio button values after creation or even construct a radio button group with associated integers without the help ofgwy_radio_buttons_create ().
|
gwy_resource_classes_finalize()Destroys the inventories of all resource classes. This function makes the affected resource classes unusable. Its purpose is to faciliate reference leak debugging by destroying a large number of objects that normally live forever. Note static resource classes that never called
|
gwy_resource_parse(text, expected_type)Reconstructs a resource from human readable form.
|
gwy_resource_tree_view_set_active(treeview, active)Selects a resource in a list and scrolls to make it visible.
|
gwy_rgba_remove_from_container(container, prefix)Removes RGBA color components from a container. This is a convenience function to remove the components in the common arrangement.
|
gwy_save_auxiliary_data(title, parent, data_len, data)Saves a report or other auxiliary data to a user specified file. This is actually a simplegwy_save_auxiliary_with_callback () wrapper, see its
description for details.
|
gwy_serializable_clone(source, copy)Makes an object identical to another object of the same type. More precisely,source may be subclass of
copy (the extra information is lost then).
|
gwy_serializable_duplicate(object)Creates a copy of an object. If the object doesn't support duplication natively, it's brute-force serialized and then deserialized, this may be quite inefficient, namely for large objects. You can duplicate aNULL , too, but you are
discouraged from doing it.
|
gwy_serializable_get_size(serializable)Calculates the expected size of serialized object.
|
gwy_serialize_check_string(buffer, size, position, compare_to)Check whether compare_to is NULL , the
comparsion is not performed.
|
gwy_set_data_preview_size(data_view, max_size)Sets up data view zoom to not exceed specified size. Before calling this function, data keys have be set, data fields and layers have to be present and physically square mode set in the container. Sizing of both pixel-wise square and physically square displays is performed correctly. Since: 2.7
|
gwy_sgettext(msgid)Translate a message id containing disambiguating prefix ending with `|'.
|
gwy_si_unit_new_parse(unit_string, power10)Creates a new SI unit from string representation. This is a more powerful version of power10 because 1 pA/s is 1e-12
A/s, for <literal>"km^2"</literal> it will store
6 to power10 because 1 km^2 is 1e6 m^2.
|
gwy_stock_register_stock_items()Registers stock items. This function must be called before any stock items are used. |
gwy_strdiffpos(s1, s2)Finds position where two strings differ.
|
gwy_strisident(s, more, startmore)Checks whether a string is valid identifier. Valid identifier must start with an alphabetic character or a
character from more and/or startmore .
|
gwy_strkill(s, killchars)Removes characters in gwy_strkill (g_strdup(s ),
killchars ) to get a modified copy.
|
gwy_strreplace(haystack, needle, replacement, maxrepl)Replaces occurences of stringneedle in
haystack with replacement .
|
gwy_table_attach_hscale(table, row, name, units, pivot, style)Attaches a spinbutton with a scale and labels, or something else to a table row. You can use functions style
values is quite convoluted.
|
gwy_table_attach_row(table, row, name, units, middle_widget)Attaches a widget with two labels to a table.
|
gwy_table_attach_spinbutton(table, row, name, units, adj)Attaches a spinbutton with two labels to a table.
|
gwy_table_get_child_widget(table, row, col)Finds a widget in Coordinates (
|
gwy_table_hscale_set_sensitive(pivot, sensitive)Sets sensitivity of a group of controls create by Do not use with gwy_table_attach_spinbutton () too if the
spinbutton is passed as pivot .
|
gwy_tip_model_get_npresets()Find number of actual tip model presets.
|
gwy_tool_func_register(type)Registeres a tool function (tool type).
|
gwy_type_init()Makes libgwyddion types safe for deserialization and performs other initialization. You have to call this function before using objects from libgwyddion. Calls g_type_init() first to make sure GLib object system is initialized. It is safe to call this function more than once, subsequent calls are no-op. |
gwy_undo_container_get_modified(data)Tests whether a container was modified. FIXME: it may not work.
|
gwy_undo_container_has_redo(data)Returns:True if there is redo,
False otherwise.
|
gwy_undo_container_has_undo(data)Returns:True if there is undo,
False otherwise.
|
gwy_undo_container_remove(data, prefix)Removes undo/redo information for a data container.
|
gwy_undo_container_set_unmodified(data)Marks a data container as umodified (that is, saved).
|
gwy_undo_redo_container(data)Performs undo on a data container. It must have redo available.
|
gwy_undo_undo_container(data)Performs undo on a data container. It must have undo available.
|
gwy_version_major()Gets the major version of Gwyddion. If the version is 1.99.7.20060604, this function returns 1.
|
gwy_version_minor()Gets the minor version of Gwyddion. If the version is 1.99.7.20060604, this function returns 99.
|
gwy_version_string()Gets the full Gwyddion version as a string. If the version is 1.99.7.20060604, this function returns <literal>"1.99.7.20060604"</literal>. This is the only method to get finer version information than major.minor. However, only development versions use finer versioning than major.minor therefore a module or app requiring such information is probably broken anyway. A meaningful use is to advertise the version of Gwyddion your app runs with.
|
gwy_widget_get_activate_on_unfocus(widget)Obtains the activate-on-unfocus state of a widget.
|
gwy_widget_set_activate_on_unfocus(widget, activate)Sets the activate-on-unfocus state of a widget. When it is enabled, signal "GtkWidget::activate" is emited whenever focus leaves the widget. Since: 2.5
|
gwy_widget_sync_sensitivity(master, slave)Make widget's sensitivity follow the sensitivity of another widget. The sensitivity of
|
gwy_widgets_get_gl_config()Returns: The OpenGL framebuffer configuration,NULL if OpenGL
|
gwy_widgets_gl_init()Configures an OpenGL-capable visual for 3D widgets. Use
|
gwy_widgets_type_init()Makes libgwydgets types safe for deserialization and performs other initialization. You have to call this function before using widgets and objects from libgwydgets. Calls |
z_UNIMPLEMENTED_gwy_2d_cwt_wavelet_type_get_enum()Returns:NULL -terminated
Enum which must not be modified nor freed.
|
z_UNIMPLEMENTED_gwy_app_build_graph_menu(accel_group)Constructs the application <guimenu>Graph</guimenu> menu. The menu is created from graph functions registered by modules, therefore module registeration has to be performed first for this function to make sense.
|
z_UNIMPLEMENTED_gwy_app_build_process_menu(accel_group)Constructs the application <guimenu>Data Process</guimenu> menu. The menu is created from data processing functions registered by modules, therefore module registeration has to be performed first for this function to make sense.
|
z_UNIMPLEMENTED_gwy_app_data_browser_get_graph_ids(data)Gets the list of all graphs in a data container. The container must be known to the data browser.
|
z_UNIMPLEMENTED_gwy_app_data_browser_get_spectra_ids(data)Gets the list of all spectra in a data container. The container must be known to the data browser.
|
z_UNIMPLEMENTED_gwy_app_gl_init(argc, argv)Checks for working OpenGL and initializes it. When OpenGL support is not compiled in, this function does not do anything. When OpenGL is supported, it calls gtk_gl_init_check() andgwy_widgets_gl_init () (if the former
succeeeds).
|
z_UNIMPLEMENTED_gwy_app_menu_recent_files_update(recent_files)Updates recent file menu. If the list of files is longer than the maximum number of recent file menu items, only the maximum number is shown.
|
z_UNIMPLEMENTED_gwy_app_settings_get_module_dirs()Returns: The list of module directories as a newly allocated array of
|
z_UNIMPLEMENTED_gwy_app_undo_checkpointv(data, n, keys)Create a point in the undo history it is possible to return to. In addition to whatgwy_undo_checkpointv () does, this
function takes care of updating application controls state.
|
z_UNIMPLEMENTED_gwy_data_field_correlate_finalize(state)Destroys a correlation iterator, freeing all resources.
|
z_UNIMPLEMENTED_gwy_data_field_correlate_iteration(state)Performs one iteration of correlation. An iterator can be created withDataField.correlate_init (). When iteration ends, either by
finishing or being aborted, DataField.correlate_finalize ()
must be called to release allocated resources.
|
z_UNIMPLEMENTED_gwy_data_field_crosscorrelate_finalize(state)Destroys a cross-correlation iterator, freeing all resources.
|
z_UNIMPLEMENTED_gwy_data_field_crosscorrelate_iteration(state)Performs one iteration of cross-correlation. Cross-correlation matches two different images of the same object under changes. It does not use any special features for matching. It simply
searches for all points (with their neighbourhood) of
DataField.crosscorrelate_init (). When iteration ends,
either by finishing or being aborted,
DataField.crosscorrelate_finalize () must be called to
release allocated resources.
|
z_UNIMPLEMENTED_gwy_data_field_grains_watershed_finalize(state)Destroys a watershed iterator, freeing all resources.
|
z_UNIMPLEMENTED_gwy_data_field_grains_watershed_iteration(state)Performs one iteration of the watershed algorithm. Fields DataField.grains_watershed_init (). When iteration ends,
either by finishing or being aborted,
DataField.grains_watershed_finalize () must be called to
release allocated resources.
|
z_UNIMPLEMENTED_gwy_data_field_unrotate_find_corrections(derdist, correction)Finds rotation corrections. Rotation correction is computed for for all symmetry types. In addition an estimate is made about the prevalent one.
|
z_UNIMPLEMENTED_gwy_deserialize_object_hash(buffer, size, position, object_name, nitems)Deserializes an object with arbitrary components from gwy-file format. This function works likegwy_serialize_unpack_object_struct (), except that it does
not use any a priori knowledge of what the object contains. So instead
of filling values in supplied SerializeSpec 's, it
constructs SerializeItem 's completely from what is
found in buffer . It does considerably less sanity
checks and even allows several components of the same name.
|
z_UNIMPLEMENTED_gwy_dwt_denoise_type_get_enum()Returns:NULL -terminated
Enum which must not be modified nor freed.
|
z_UNIMPLEMENTED_gwy_dwt_type_get_enum()Returns:NULL -terminated
Enum which must not be modified nor freed.
|
z_UNIMPLEMENTED_gwy_enum_to_string(enumval, enum_table, n)Creates a string representation of an integer enum valueenumval .
|
z_UNIMPLEMENTED_gwy_fft_simple(dir, n, istride, in_re, in_im, ostride, out_re, out_im)Performs a DFT algorithm. This is a low-level function used by other FFT functions when no better backend is available. Strides are distances between samples in input and output arrays.
Use 1 for normal `dense' arrays. To use n for both transform directions. By performing
forward and then backward transform, you will obtain the original array
(up to rounding errors).
|
z_UNIMPLEMENTED_gwy_file_func_foreach(function, user_data)Calls a function for each file function.
|
z_UNIMPLEMENTED_gwy_file_func_register(name, description, detect, load, save, export_)Registered a file function. At least one of
|
z_UNIMPLEMENTED_gwy_file_get_contents(filename, buffer, size)Reads or mmaps file gwy_file_abandon_contents (). It is NOT
guaranteed to be NUL-terminated, use size to find
its end.
|
z_UNIMPLEMENTED_gwy_file_get_data_info(data, name, filename_sys)Gets file information about a data. The information is set on two ocasions: file load and successful file save. File export does not set it.
|
z_UNIMPLEMENTED_gwy_flags_to_string(enumval, enum_table, n, glue)Creates a string representation of integer flag combinationenumval .
|
z_UNIMPLEMENTED_gwy_func_use_add(functions, name)Adds an use of a function to the statistics.
|
z_UNIMPLEMENTED_gwy_func_use_free(functions)Destroys function use statistics, freeing all associated resourced.
|
z_UNIMPLEMENTED_gwy_func_use_load(filename)Loads function use statistics from a file.
|
z_UNIMPLEMENTED_gwy_func_use_save(functions, filename)Saves function use statistics data to a file.
|
z_UNIMPLEMENTED_gwy_get_pango_ft2_font_map(unref)Returns: Pango FT2 font map. Add your own reference if you want it to
|
z_UNIMPLEMENTED_gwy_graph_curve_type_get_enum()Returns:NULL -terminated
Enum which must not be modified nor freed.
|
z_UNIMPLEMENTED_gwy_graph_draw_curve(drawable, gc, specs, gcmodel)Draws a single graph curve on a drawable.
|
z_UNIMPLEMENTED_gwy_graph_draw_grid(drawable, gc, specs, nxdata, x_grid_data, nydata, y_grid_data)Draws an array of grid lines on a drawable.
|
z_UNIMPLEMENTED_gwy_graph_draw_line(drawable, gc, x_from, y_from, x_to, y_to, line_style, size, color)Draws a line segment on a drawable.
|
z_UNIMPLEMENTED_gwy_graph_draw_selection_areas(drawable, gc, specs, selection)Draws selected area on a drawable.
|
z_UNIMPLEMENTED_gwy_graph_draw_selection_lines(drawable, gc, specs, selection, orientation)Draws selected lines on a drawable.
|
z_UNIMPLEMENTED_gwy_graph_draw_selection_points(drawable, gc, specs, selection)Draws selection points on a drawable.
|
z_UNIMPLEMENTED_gwy_graph_draw_selection_xareas(drawable, gc, specs, selection)Draws selected x-area on a drawable.
|
z_UNIMPLEMENTED_gwy_graph_draw_selection_yareas(drawable, gc, specs, selection)Drawss selected y-area on a drawable.
|
z_UNIMPLEMENTED_gwy_graph_func_foreach(function, user_data)Calls a function for each graph function.
|
z_UNIMPLEMENTED_gwy_graph_func_register(name, func, menu_path, stock_id, sens_mask, tooltip)Registers a graph function. Note: the string arguments are not copied as modules are not expected to vanish. If they are constructed (non-constant) strings, do not free them. Should modules ever become unloadable they will get chance to clean-up.
|
z_UNIMPLEMENTED_gwy_hash_table_to_list_cb(unused_key, value, user_data)
GList * as user data to it.
|
z_UNIMPLEMENTED_gwy_hash_table_to_slist_cb(unused_key, value, user_data)
GSList * as user data to it.
|
z_UNIMPLEMENTED_gwy_interpolation_get_dval_of_equidists(x, data, interpolation)Computes interpolated value from 2 or 4 equidistant values. For For data as {data[i-1], data[i], data[i+1], data[i+2]}
and function again Returns: Interpolated value.
|
z_UNIMPLEMENTED_gwy_interpolation_resample_block_1d(length, data, newlength, newdata, interpolation, preserve)Resamples a one-dimensional data array. This is a primitive operation, in most cases methods such as
|
z_UNIMPLEMENTED_gwy_interpolation_resample_block_2d(width, height, rowstride, data, newwidth, newheight, newrowstride, newdata, interpolation, preserve)Resamples a two-dimensional data array. This is a primitive operation, in most cases methods such as
|
z_UNIMPLEMENTED_gwy_interpolation_resolve_coeffs_1d(n, data, interpolation)Transforms data values in a one-dimensional array to interpolation coefficients. This function is no-op for interpolation types with finite-support interpolating function. Therefore you can also omit it and use the data array directly for these interpolation types. Since: 2.2
|
z_UNIMPLEMENTED_gwy_interpolation_resolve_coeffs_2d(width, height, rowstride, data, interpolation)Transforms data values in a two-dimensional array to interpolation coefficients. This function is no-op for interpolation types with finite-support interpolating function. Therefore you can also omit it and use the data array directly for these interpolation types. Since: 2.2
|
z_UNIMPLEMENTED_gwy_interpolation_shift_block_1d(length, data, offset, newdata, interpolation, exterior, fill_value, preserve)Shifts a one-dimensional data block by a possibly non-integer offset. Since: 2.2
|
z_UNIMPLEMENTED_gwy_interpolation_type_get_enum()Returns:NULL -terminated
Enum which must not be modified nor freed.
|
z_UNIMPLEMENTED_gwy_inventory_new_filled(itype, nitems, items)Creates a new inventory and fills it with items.
|
z_UNIMPLEMENTED_gwy_inventory_new_from_array(itype, item_size, nitems, items)Creates a new inventory from static item array. The inventory is neither modifiable nor sortable, it simply serves as an adaptor for the arrayitems .
|
z_UNIMPLEMENTED_gwy_layer_func_foreach(function, user_data)Calls a function for each layer function.
|
z_UNIMPLEMENTED_gwy_list_store_row_changed(store, iter, path, row)Convenience function to emit "GtkTreeModel::row-changed" signal on a tree store. At least one of iter , path , and
row .
|
z_UNIMPLEMENTED_gwy_math_choleski_decompose(n, matrix)Decomposes a symmetric positive definite matrix in place.
|
z_UNIMPLEMENTED_gwy_math_choleski_solve(n, decomp, rhs)Solves a system of linear equations with predecomposed symmetric positive definite matrixa and right hand side
b .
|
z_UNIMPLEMENTED_gwy_math_find_nearest_line(x, y, d2min, n, coords, metric)Finds the line fromcoords nearest to the point
(x , y ).
|
z_UNIMPLEMENTED_gwy_math_find_nearest_point(x, y, d2min, n, coords, metric)Finds the point fromcoords nearest to the point
(x , y ).
|
z_UNIMPLEMENTED_gwy_math_fit_polynom(ndata, xdata, ydata, n, coeffs)Fits a polynom through a general (x, y) data set.
|
z_UNIMPLEMENTED_gwy_math_humanize_numbers(unit, maximum, precision)Finds a human-friendly representation for a range of numbers.
|
z_UNIMPLEMENTED_gwy_math_lin_solve(n, matrix, rhs, result)Solve a regular system of linear equations.
|
z_UNIMPLEMENTED_gwy_math_lin_solve_rewrite(n, matrix, rhs, result)Solves a regular system of linear equations. This is a memory-conservative version ofgwy_math_lin_solve () overwriting
matrix and rhs with
intermediate results.
|
z_UNIMPLEMENTED_gwy_math_median(n, array)Finds median of an array of values using Quick select algorithm.
|
z_UNIMPLEMENTED_gwy_math_nlfit_derive(x, n_param, param, fixed_param, ff, user_data, deriv, dres)Numerically computes the partial derivative of a fitting function.
|
z_UNIMPLEMENTED_gwy_math_nlfit_fit(nlfit, n_dat, x, y, n_param, param, user_data)Performs a nonlinear fit ofnlfit function on
(x ,y ) data.
|
z_UNIMPLEMENTED_gwy_math_nlfit_fit_full(nlfit, n_dat, x, y, weight, n_param, param, fixed_param, link_map, user_data)Performs a nonlinear fit of fixed_param property is
ignored and master's property controls whether all are fixed or all
variable.
|
z_UNIMPLEMENTED_gwy_math_nlfit_free(nlfit)Completely frees a Marquardt-Levenberg nonlinear fitter.
|
z_UNIMPLEMENTED_gwy_math_nlfit_get_correlations(nlfit, par1, par2)Returns: The correlation coefficient.
|
z_UNIMPLEMENTED_gwy_math_nlfit_get_dispersion(nlfit)Returns: The dispersion.
|
z_UNIMPLEMENTED_gwy_math_nlfit_get_max_iterations(nlfit)Returns: The maximum number of iterations.
|
z_UNIMPLEMENTED_gwy_math_nlfit_get_sigma(nlfit, par)Returns: The SD ofpar -th parameter.
|
z_UNIMPLEMENTED_gwy_math_nlfit_set_max_iterations(nlfit, maxiter)Sets the maximum number of iterations for nonlinear fitternlfit .
|
z_UNIMPLEMENTED_gwy_math_nlfit_succeeded(nlfit)Obtains the status of the last fitting. Fitting failure can be (and usually should be) also determined by checking for negative return value ofgwy_math_nlfit_fit ()
or gwy_math_nlfit_fit_full (). This function allows to test
it later.
|
z_UNIMPLEMENTED_gwy_math_sort(n, array)Sorts an array of doubles using a quicksort algorithm. This is usually about twice as fast as the generic quicksort function thanks to specialization for doubles.
|
z_UNIMPLEMENTED_gwy_math_tridiag_solve_rewrite(n, d, a, b, rhs)Solves a tridiagonal system of linear equations.
|
z_UNIMPLEMENTED_gwy_md5_get_digest(buffer, buffer_size, digest16)Compute the MD5 hash of a buffer. The MD5 algorithm takes as input a message of arbitrary length and produces as output a 128-bit "fingerprint" or "message digest" of the input. For more information see RFC 1321.
|
z_UNIMPLEMENTED_gwy_memcpy_byte_swap(source, dest, item_size, nitems, byteswap)Copies a block of memory swapping bytes along the way. The bits in When
|
z_UNIMPLEMENTED_gwy_menu_gl_material(callback, cbdata)Creates a pop-up GL material menu. Object data <literal>"gl-material-name"</literal> is set to GL material name for each menu item.
|
z_UNIMPLEMENTED_gwy_menu_gradient(callback, cbdata)Creates a pop-up gradient menu. Object data <literal>"gradient-name"</literal> is set to gradient name for each menu item.
|
z_UNIMPLEMENTED_gwy_merge_type_get_enum()Returns:NULL -terminated
Enum which must not be modified nor freed.
|
z_UNIMPLEMENTED_gwy_module_foreach(function, data)Runs ModuleInfo ) as the value. Neither should be
modified.
|
z_UNIMPLEMENTED_gwy_module_get_functions(name)Returns: List of module function names, as aGSList that is owned by
|
z_UNIMPLEMENTED_gwy_module_lookup(name)Returns: The module info, ofNULL if not found.
It must be considered
|
z_UNIMPLEMENTED_gwy_module_register_module(name)Loads a single module.
|
z_UNIMPLEMENTED_gwy_module_register_modules(paths)Registers all modules in given directories. It can be called several times (on different directories). No errors are reported, register modules individually withgwy_module_register_module () to get registration
errors.
|
z_UNIMPLEMENTED_gwy_orientation_get_enum()Returns:NULL -terminated
Enum which must not be modified nor freed.
|
z_UNIMPLEMENTED_gwy_plane_symmetry_get_enum()Returns:NULL -terminated
Enum which must not be modified nor freed.
|
z_UNIMPLEMENTED_gwy_process_func_foreach(function, user_data)Calls a function for each process function.
|
z_UNIMPLEMENTED_gwy_process_func_register(name, func, menu_path, stock_id, run, sens_mask, tooltip)Registers a data processing function. Note: the string arguments are not copied as modules are not expected to vanish. If they are constructed (non-constant) strings, do not free them. Should modules ever become unloadable they will get a chance to clean-up.
|
z_UNIMPLEMENTED_gwy_radio_buttons_attach_to_table(group, table, colspan, row)Attaches a group of radio buttons to table rows.
|
z_UNIMPLEMENTED_gwy_radio_buttons_create(entries, nentries, callback, cbdata, current)Creates a radio button group from an enum. Try to avoid -1 as an enum value.
|
z_UNIMPLEMENTED_gwy_radio_buttons_find(group, value)Finds a radio button by its associated integer value.
|
z_UNIMPLEMENTED_gwy_radio_buttons_get_current(group)Gets the integer enum value corresponding to currently selected item.
|
z_UNIMPLEMENTED_gwy_radio_buttons_set_current(group, current)Sets currently selected radio button ingroup
based on integer item object data (as set by
gwy_radio_buttons_create ()).
|
z_UNIMPLEMENTED_gwy_save_auxiliary_with_callback(title, parent, create, destroy, user_data)Saves a report or other auxiliary data to a user specified file.
|
z_UNIMPLEMENTED_gwy_serializable_deserialize(buffer, size, position)Restores a serialized object from byte buffer. The newly created object has reference count according to its nature, thus aGtkObject will have a floating
reference, a GObject will have a refcount of 1,
etc.
|
z_UNIMPLEMENTED_gwy_serializable_serialize(serializable, buffer)Serializes an object to byte buffer. This is a high-level method. Do not use it for implementation of child object serialization (should you ever need to do it manually), it would lead to repeated required buffer size calculations. In such a case, usegwy_serializable_do_serialize () FIXME: but
that's not public.
|
z_UNIMPLEMENTED_gwy_serialize_get_items_size(object_name, nitems, items)Calculates serialized object size for hash-like objects. The component specification is the same as ingwy_serialize_object_items ().
|
z_UNIMPLEMENTED_gwy_serialize_get_struct_size(object_name, nspec, spec)Calculates serialized object size for struct-like objects. The component specification is the same as ingwy_serialize_pack_object_struct ().
|
z_UNIMPLEMENTED_gwy_serialize_object_items(buffer, object_name, nitems, items)Serializes an object to buffer in gwy-file format. More precisely, it appends serialization of object with g_type_name()object_name with components described
by items to buffer .
|
z_UNIMPLEMENTED_gwy_serialize_pack_object_struct(buffer, object_name, nspec, spec)Appends serialization of object with g_type_name() B{C{object_name}} and components described by B{C{spec}} to B{C{buffer}} in gwy-file format. Here's how a serialization method of a simple object whose state is described by a single real number foo could look (without error checking): <informalexample><programlisting> static guchar* my_object_serialize(GObject *obj, guchar *buffer, gsize *size) { MyObject *my_object = MY_OBJECT(obj); SerializeSpec spec[] = { { 'd', "foo", &my_object->foo, NULL, }, }; return L{gwy_serialize_pack_object_struct}(buffer, size, "MyObject", G_N_ELEMENTS(spec), spec); } </programlisting></informalexample> @param buffer: A buffer to which the serialized components should be appended. I{(GByteArray*)} @param object_name: The type name of the object. I{(string)} @param nspec: The number of items in B{C{spec}}. I{(gsize)} @param spec: The components to serialize. I{(const-SerializeSpec*)} @return: The buffer with serialization of B{C{spec}} components appended. |
z_UNIMPLEMENTED_gwy_serialize_unpack_object_struct(buffer, size, position, object_name, nspec, spec)Deserializes an object with named components packed into gwy-file format by L{gwy_serialize_pack_object_struct}(). Extra components are ignored (but cause a warning), components of different type than expected cause failure, missing components are not detected. It is safe to pass pointers to existing non-atomic objects (strings, arrays, objects) in B{C{spec}} values, they will be dereferenced and freed as necessary when an unpacked value is about to replace them. For the same reason it is an error to pass pointers to unintialized memory there, always initialize non-atomic B{C{spec}} values to B{C{NULL}} pointers, at least. Caller is responsible for use/clean-up of these values if deserialization succeeds or not. Here's how a deserialization method of a simple object whose state is described by a single real number B{C{foo}} could look (without error checking): <informalexample><programlisting> static GObject* my_object_deserialize(const guchar *buffer, gsize size, gsize *position) { double foo = 1.0; SerializeSpec spec[] = { { 'd', "foo", &foo, NULL, }, }; MyObject *my_object; L{gwy_serialize_unpack_object_struct}(buffer, size, position, "MyObject", G_N_ELEMENTS(spec), spec); return my_object_new(foo); } </programlisting></informalexample> @param buffer: A memory location containing a serialized object at position B{C{position}}. I{(string)} @param size: Current size of B{C{buffer}}, new size is returned here. I{(gsize)} @param position: The position of the object in B{C{buffer}}, it's updated to point after it. I{(gsize*)} @param object_name: The type name of the object. I{(string)} @param nspec: The number of items in B{C{spec}}. I{(gsize)} @param spec: The components to deserialize. I{(SerializeSpec*)} @return: Whether the unpacking succeeded (see description body for definition of success and failure). |
z_UNIMPLEMENTED_gwy_si_unit_value_format_free(format)Frees a value format structure.
|
z_UNIMPLEMENTED_gwy_si_unit_value_format_set_units(format, units)Sets the units field of a value format structure. This function keeps theunits and
units_gstring fields consistent.
|
z_UNIMPLEMENTED_gwy_str_next_line(buffer)Extracts a next line from a character buffer, modifying it in place. buffer is updated to point after the end of the
line and the " " (or " ") is replaced with
" |