| 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| 2 | <html> |
| 3 | <head> |
| 4 | <title>splitti3</title> |
| 5 | <meta http-equiv="content-type" |
| 6 | content="text/html; charset=ISO-8859-1"> |
| 7 | <meta name="author" content="Graeme Gill"> |
| 8 | </head> |
| 9 | <body> |
| 10 | <h2><b>profile/splitti3</b></h2> |
| 11 | <h3>Summary</h3> |
| 12 | Split the first table of data in a CGATS format file, into two files, |
| 13 | choosing the sets randomly. Usually the CGATS file will be a <a |
| 14 | href="File_Formats.html#.ti3">.ti3</a> |
| 15 | format file, and the intent is to create a test and reference data set, |
| 16 | to verify the operation of <a href="colprof.html">colprof</a>.<br> |
| 17 | <h3>Usage Summary</h3> |
| 18 | <small><span style="font-family: monospace;">usage: splitti3 |
| 19 | [-options] input.ti3 output1.ti3 output2.ti3</span><br |
| 20 | style="font-family: monospace;"> |
| 21 | <span style="font-family: monospace;"> -v |
| 22 | Verbose - print each patch value</span><br |
| 23 | style="font-family: monospace;"> |
| 24 | <span style="font-family: monospace;"> -n |
| 25 | no Put no sets in |
| 26 | first file, and balance in second file.</span><br |
| 27 | style="font-family: monospace;"> |
| 28 | <span style="font-family: monospace;"> -p |
| 29 | percent Put percentage% in first file, |
| 30 | and balance in second file. (def. 50%)</span><br |
| 31 | style="font-family: monospace;"> |
| 32 | <span style="font-family: monospace;"> -r |
| 33 | seed Use |
| 34 | given random seed.</span><br style="font-family: monospace;"> |
| 35 | <span style="font-family: monospace;"> </span><span |
| 36 | style="font-style: italic; font-family: monospace;">input.ti3</span><span |
| 37 | style="font-family: monospace;"> File to |
| 38 | be split up.</span><br style="font-family: monospace;"> |
| 39 | <span style="font-family: monospace;"> </span><span |
| 40 | style="font-style: italic; font-family: monospace;">output1.ti3</span><span |
| 41 | style="font-family: monospace;"> First output file</span><br |
| 42 | style="font-family: monospace;"> |
| 43 | <span style="font-family: monospace;"> </span><span |
| 44 | style="font-style: italic; font-family: monospace;">output2.ti3</span><span |
| 45 | style="font-family: monospace;"> Second output file</span></small><br> |
| 46 | <h3>Usage Details and Discussion</h3> |
| 47 | <b>splitti3</b> together with <a href="profcheck.html">profcheck</a> |
| 48 | provides a way of verifying how well the profiling process is working. |
| 49 | By splitting up a <span style="font-weight: bold;">.ti3</span> test |
| 50 | set into two parts, one that will be the data file that the profile is |
| 51 | created from, and the other being the independent set used for |
| 52 | verification, some measure can made of how well a devices underlying |
| 53 | behaviour is being modelled by colprof. Only the first table is |
| 54 | transferred from input to output.<br> |
| 55 | <br> |
| 56 | The <b>-v</b> flag prints out extra information during operation..<br> |
| 57 | <br> |
| 58 | The <b>-n</b> parameter specifies the split between the first and |
| 59 | second output files as a given number of sets of data for the first |
| 60 | table.<br> |
| 61 | <br> |
| 62 | The <b>-p</b> parameter specifies the split between the first and |
| 63 | second output files as a percentage in favour of the first table.<br> |
| 64 | <br> |
| 65 | The <span style="font-weight: bold;">-r</span> parameter provides a |
| 66 | way of making the random split reproducible, by allowing the random |
| 67 | number seed to be specified.<br> |
| 68 | <br> |
| 69 | <br> |
| 70 | Typically a large test set might be partitioned into two files, the |
| 71 | first used to generate a profile, and then the second used with <span |
| 72 | style="font-weight: bold;">profcheck</span> to check how well the |
| 73 | profile patches the balance of the test set points.<br> |
| 74 | </body> |
| 75 | </html> |