foresight
foresight, FORtran Easy Svg Interactive Gnuplot-like Html Tool.
Library entry point: re-exports the public API of all foresight modules.
Source: src/lib/foresight.F90
Dependencies
Re-exports
| Name | Kind | Module | Description |
|---|---|---|---|
figure_object | type | foresight_figure | Figure. |
fit | subroutine | foresight_fit | Fit the Fortran function model(x, params) to the points (x, y), from the initial params (updated), as gnuplot fit f(x) 'data' using 1:2[:3] via ...: err the errors of y (unit weights if absent). Silent unless report is given: '-' writes gnuplot's report to the standard error, as gnuplot's terminal, a file name writes it there (gnuplot's fit.log). names name the parameters in the report (p1, p2, ... if absent). On failure result%message says why and params keep their initial values. |
fit_report | subroutine | foresight_fit | Write gnuplot's fit report of result, for the parameters names: on the standard error (destination '-', gnuplot's terminal output: with progress the progress lines (gnuplot's brief), then the stop sentence and the results) or appended to the file destination (gnuplot's fit.log: a header naming the data source and the function_text, the first and last progress lines, the results). |
fit_result | type | foresight_fit | Outcome of a fit: gnuplot's FIT_* values, the parameters and their errors. |
fit_settings | type | foresight_fit | gnuplot's set fit options. |
model_function | interface | foresight_fit | |
stats | interface | foresight_stats | Statistics of one column, stats(y), or of two, stats(x, y). |
stats_column | type | foresight_stats | Statistics of one column (gnuplot's STATS_mean, ... or STATS_mean_x, STATS_mean_y). |
stats_report | subroutine | foresight_stats | gnuplot's report of r on unit: the screen layout (formatted, gnuplot's terminal) or the name-tab-value lines gnuplot writes to a set print file. |
stats_result | type | foresight_stats | gnuplot's STATS_* values: the file counts, one column (y) or two (x, y and their line). |
script_object | type | foresight_script | Script interpreter state. |
civil_time | function | foresight_time | Seconds since the epoch of a date and time (fields may overflow their ranges, as mktime's). |
strftime | function | foresight_time | t [s since the epoch] written with the time format, as gnuplot's strftime: %a %A %b %B %h names, %d %m %y %Y %j %H %I %M %S numbers (zero padded), %k %l hours (blank padded), %p am/pm, %s the seconds since the epoch, %w the weekday number, %U %W week numbers, %D (%m/%d/%y), %F (%Y-%m-%d), %T (%H:%M:%S), %R (%H:%M), %r (%I:%M:%S %p), %.NS the seconds with N decimals, %tH %tM %tS the elapsed hours, minutes, seconds (the largest unit present unbounded), %%; others write nothing. |
strptime | subroutine | foresight_time | text read with the time format, as gnuplot's strptime: %d %m %H %M (up to 2 digits), %y (2 digits, 69 to 99 the 1900s, else the 2000s), %Y (up to 4), %j (up to 3), %S (seconds with a fraction), %s (seconds since the epoch), %b %B (month names or their 3 first letters), %a %A (weekday names, skipped), %p (pm adds 12 hours), %tH %tM %tS (elapsed hours, minutes, seconds, signed, the last with a fraction), %z (a zone offset, Z or [+-]hh[:]mm, taken off), %Z (a zone name, skipped); a blank matches any run of blanks, any other character itself. Fields not given are those of 1970-01-01 00:00:00, also those after the end of the text (gnuplot reads "1/6/93" with "%d/%m/%y %H%M"). ok false (t NaN) if text does not match. Sign of the offset. Hours. Minutes. Read status. |
file_fingerprint | function | foresight_fingerprint | Size and content hash of file; [-1, 0] if it is missing or unnamed. |
rename_file | subroutine | foresight_sys | Rename (move) file old to new, replacing new if it exists. |
sleep_ms | subroutine | foresight_sys | Suspend the calling thread for at least milliseconds ms. |
THEMES | parameter | foresight_theme | Theme names. |
I4P | penf | ||
I8P | penf | ||
R4P | penf | ||
R8P | penf |