litholog | Includes StratCoreProcessor | Data Visualization library

 by   rgmyr Python Version: Current License: Apache-2.0

kandi X-RAY | litholog Summary

kandi X-RAY | litholog Summary

litholog is a Python library typically used in Analytics, Data Visualization applications. litholog has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can download it from GitHub.

litholog is focused on providing a framework to digitize, store, plot, and analyze sedimentary graphic logs (example log shown below). Graphic logs are the most common way geologists characterize and communicate the composition and variability of clastic sedimentary successions; through a simple drawing, a graphic log imparts complex geological concepts (e.g., the Bouma turbidite sequence or a shoreface parasequence). The term ‘graphic log’ originates from a geologist graphically drawing (i.e., ‘logging’) an outcrop or core; other synonymous terms include measured section and stratigraphic column. litholog is a package-level extension of agile-geoscience/striplog, with additional features that focus on lithology, and an API that is geared toward facilitating machine learning and quantitative analysis. As you can see above, litholog faithfully reproduces graphic log data, but errors or omissions when digitizing are propagated. Care during digitizing is of the utmost importance, as manual manipulation of litholog data (e.g., grain size) is not recommended.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              litholog has a low active ecosystem.
              It has 16 star(s) with 1 fork(s). There are 5 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 0 open issues and 3 have been closed. On average issues are closed in 58 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of litholog is current.

            kandi-Quality Quality

              litholog has no bugs reported.

            kandi-Security Security

              litholog has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              litholog is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              litholog releases are not available. You will need to build from source code and install.
              Build file is available. You can build the component from source.

            Top functions reviewed by kandi - BETA

            kandi has reviewed litholog and discovered the below as its top functions. This is intended to give you an instant insight into litholog implemented functionality, and help decide if they suit your requirements.
            • Plot the feature
            • Generate a matplotlib patch
            • Return a polygon as a polygon
            • Return True if d is within the segment
            • Construct a DataFrame from a Pandas DataFrame
            • Preprocess a dataframe
            • R Check thickness
            • Check if top and basecol are in topological order
            • Return a list of values
            • Return True if other is compatible with other
            • Extract values from the bed
            • Calculate the damping density of a field
            • Calculate the HR coefficient for a 1D series
            • Reduce a list of numpy arrays
            • Apply a function to each field
            • Check if all samples have the same value
            • Apply this rule to the given thing
            • Flip the stop
            • Return a new BedSequence with a given delta
            • Convert string to array
            • Convert a list of strings to a numpy array
            • Generate a pseudo - gamma
            • Return the value of the specified field
            • Convert from soil coefficient to lithm
            • Calculate the hurst_K value for a given field
            Get all kandi verified functions for this library.

            litholog Key Features

            No Key Features are available at this moment for litholog.

            litholog Examples and Code Snippets

            No Code Snippets are available at this moment for litholog.

            Community Discussions

            QUESTION

            How to customize titles and y labels in a Seaborn relplot
            Asked 2021-May-05 at 02:28

            I currently have a seaborn relplot

            ...

            ANSWER

            Answered 2021-May-05 at 01:44

            You can iterate through harker.axes:

            Source https://stackoverflow.com/questions/67394044

            QUESTION

            Multi Index Seaborn Line Plot
            Asked 2021-Apr-24 at 22:14

            I have a multi index dataframe, with the two indices being Sample and Lithology

            ...

            ANSWER

            Answered 2021-Apr-24 at 22:14

            To use hue= and style=, seaborn prefers it's dataframes in long form. pd.melt() will combine all columns and create new columns with the old column names, and a column for the values. The index too needs to be converted to a regular column (with .reset_index()).

            Most seaborn functions use order= to set an order on the x-values, but with lineplot the only way is to make the column categorical applying a fixed order.

            Source https://stackoverflow.com/questions/67247105

            QUESTION

            Creating Horizontal Bars with Itertools and For Loops (Python)
            Asked 2021-Jan-29 at 01:30

            I've been playing around with Matplotlib and created a horizontal bar using the following algorithm (Full code and junk data provided at the bottom of this post).

            ...

            ANSWER

            Answered 2021-Jan-29 at 01:29

            Since the intention of the outcome was ambiguous, I have created examples for all three versions I can imagine.

            Source https://stackoverflow.com/questions/65946823

            QUESTION

            how to fill pcolor with hatches by mapping it alongwith color fill
            Asked 2020-Dec-03 at 07:49

            Hi I want to continue from what I already ask in here Create vertical stacked bar chart referenced to y values (lithology/stratigraphic column)

            The question is how to make multiple hatches on my pcolor, here is the picture

            I want to make that white colored pcolor with 'x' pattern, and the red one with '+'.

            Any ways to do it? thank you in advance

            ...

            ANSWER

            Answered 2020-Dec-03 at 07:49

            Based on the linked example data, and on How to hatch PolyCollection instance? for a method to hatch the PolyCollection created by pcolor:

            Source https://stackoverflow.com/questions/65119142

            QUESTION

            System.InvalidOperationException when try to add new row on DataGridView
            Asked 2020-Jul-17 at 14:48

            I've added some columns to a DataGridView using DataGridViewComboBoxColumn and DataGridViewColumn

            ...

            ANSWER

            Answered 2020-Jul-17 at 14:48

            As suggested by Ahmed Abdelhameed, removing the line DataSource = New DataTable(), the problem is solved.

            Source https://stackoverflow.com/questions/62943946

            QUESTION

            Assign multiple values to a key from Excel (Python Dictonaries)
            Asked 2020-Jul-17 at 01:24

            Evening all,

            I'm attempting to add merge multiple lists into a dictionary. I've been able to access the spreadsheet, import the columns as lists and even assign valueA to the key. I'm struggling to append the valueB to the same key without overwriting the valueA.

            My desired output is ('spreadsheet_key', ['valueA', 'valueB']) I can only achieve ('spreadsheet_key', ['valueB'])

            There is clearly something that I don't understand about dictionaries. Any help would be greatly appreciated.

            My code and comments are as follows:

            ...

            ANSWER

            Answered 2020-Jul-17 at 01:24

            This error is occurring because you are overwriting the same key of the dictionary with another value rather than appending the value

            You can achieve this with a single for loop

            Source https://stackoverflow.com/questions/62945112

            QUESTION

            How do you sum consecutive values in a column and create a new column of those summed values?
            Asked 2019-Nov-03 at 17:28

            In a data frame I am trying to calculate the total thickness at certain intervals within a stratigraphic column, and create new coulmns of these total thicknesses in the data frame. I am new to using r, and I am struggling with how to add up consecutive values in a column.

            Any help or insight would be appreciated. Even suggested readings or help pages.

            I am trying to calculate the top and base of specific beds for a stratigraphic column. Essentially, the total thickness at specific intervals in a stratigraphic column. I have the thickness of each bed and I want to calculate where the top and base would be in relation to the very bottom of the entire column. I have been struggling to come up with a solution, I feel like I simply do not know enough functions and commands to allow me to write the code that will do what I need. I also think I may need to create a function, in order to do what I need.

            This is the data I am starting with. The lithology or rock type, and the total thickness of each bed or rock type. The last row is the absolute base of the statigraphic column, which therefore has no thickness.

            ...

            ANSWER

            Answered 2019-Nov-03 at 17:28

            In these alternatives we use the input shown reproducibly in the Note at the end.

            1) within The base is the sum of the thicknesses minus the thicknesses up to that point which we can calculate using cumsum. The top is that plus the current thickness. No packages are used.

            Source https://stackoverflow.com/questions/58680936

            QUESTION

            Difficulty to plot legend for a color bar in python 3.6
            Asked 2019-Jun-07 at 18:52

            I have 3 colors (ccc) for 3 different types of rock (d2) and I would like to plot a legend with rectangles for my color bar. I already searched about it, but couldn't find the right code. Could you help me?

            ...

            ANSWER

            Answered 2019-Jun-07 at 18:52

            If I understood correctly, you want three legend handles, one for each colored stone. This can be done by adding custom legend handles using mpatches

            Source https://stackoverflow.com/questions/56496369

            QUESTION

            Resampling a dataframe based on depth column
            Asked 2019-Apr-06 at 10:35

            I have two dataframe which the key is depth. One has > 2k values the other only 100, but the min and the max depth are the same. I would like to upsample the small dataframe (which has only one column) at the same size of the bigger one and repeat the same value of a column between two depths.

            I've tried using concatenate and resampling but I'm stuck when I want to find the same depth since the two dataframes depths do not have exactly the same values

            I have this:

            ...

            ANSWER

            Answered 2019-Apr-06 at 10:35

            If change sample data for same max and min value in both is possible use merge_asof:

            Source https://stackoverflow.com/questions/55548007

            QUESTION

            zIndex of map label has no effect if it's used with GeoJSON layer
            Asked 2018-Jul-02 at 10:15

            I am using Google map label to display some property from GeoJSON data on GeoJSON layer. The layer has some dark color and the label is being created behind the GeoJSON data layer due to that the map label looks blurry. I tried to apply bigger zIndex for label than data layer but it has no effect. Check out the issue in plunker.

            https://plnkr.co/edit/KvhIoRoibsbKk9e4k1Ch?p=preview

            ...

            ANSWER

            Answered 2018-Jan-23 at 19:17

            I would suggest the following workaround. Instead of the js-map-label library and its MapLabel object you can use native google.maps.Marker object with custom icon and label. The trick is: as a custom icon URL you can provide an URL of empty png image and additionally you can specify a position where the label should appear.

            Your code where you create the label should be changed to the following

            Source https://stackoverflow.com/questions/48058324

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install litholog

            You can download it from GitHub.
            You can use litholog like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/rgmyr/litholog.git

          • CLI

            gh repo clone rgmyr/litholog

          • sshUrl

            git@github.com:rgmyr/litholog.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link